Tag: Php
-
Prooph, top enterprise aware PHP CQRS and Event Sourcing components
Posted on February 27, 2021, Level beginner Resource Length medium
Prooph is an enterprise-ready PHP CQRS and Event Sourcing packages for PHP with support for the most famous PHP web frameworks. If you are not familiar with CQRS (Command Query Responsibility Segregation), it's first described by Greg Young in 2010 and it's basically a design pattern used in enterprise and microservices architecture to separate read and writes in your data layer. By Hatem Ben Yacoub.
Tags php web-development open-source app-development
-
Preventing dependency confusion in PHP with Composer
Posted on February 11, 2021, Level intermediate Resource Length medium
Alex Birsan recently published his article "Dependency Confusion: How I Hacked Into Apple, Microsoft and Dozens of Other Companies" in which he explains how he used language level package managers like npm (Javascript), pip (Python), and gems (Ruby) to get companies to install and run his malicious code on their infrastructure. By Nils Adermann.
Tags php software web-development open-source app-development
-
How to detect complex duplicated methods with PHPStan
Posted on January 15, 2021, Level beginner Resource Length short
Duplicated code is a code smell that hides the potential of better design. How can we find it? Is it 100 % identical code token by token? Are methods getName() and getName() on 2 entities duplicated? By Tomas Votruba.
Tags php web-development tdd programming
-
How to install PHP 8 on Ubuntu 20.04
Posted on December 12, 2020, Level beginner Resource Length short
PHP is one of the most widely used server-side programming languages. Many popular CMS and frameworks such as WordPress, Magento, and Laravel are written in PHP. PHP 8.0 is the latest major release of the PHP language. It introduces several breaking changes, performance improvements, and lots of new features such as named arguments, JIT compiler, union types, match expression, and more. By linuxize.com.
Tags php linux web-development app-development performance
-
OpenAPI-backed API testing in PHP projects: Laravel example
Posted on December 3, 2020, Level intermediate Resource Length long
OpenAPI is a specification intended to describe RESTful APIs in JSON and YAML, with the aim of being understandable by humans and machines alike. By Yannick Chenot.
Tags agile tdd web-development php
-
Why Gatsby chose headless WordPress for our blog
Posted on November 25, 2020, Level beginner Resource Length medium
Back when Gatsby first launched we produced all of our content — including blog, landing pages, and documentation — in a public GitHub repo. That approach just made sense for an open-source software company where most of the team were web developers. And it worked fine ... for a while. By Hashim Warren.
Tags web-development php javascript frameworks
-
Symfony messenger with SQS and SNS aws-services
Posted on August 13, 2020, Level intermediate Resource Length long
Let' checkout how to connect Symfony with Amazon SQS and SNS Services by using a Symfony component. By Stefan Pöltl.
Tags queues php distributed miscellaneous performance streaming
-
Build a GraphQL powered API with Laravel
Posted on August 8, 2020, Level intermediate Resource Length long
Often referred to as a platform or programming language agnostic query language, GraphQL is a comprehensive approach to guide software engineers in building data-driven applications. In this tutorial, you will learn some of the fundamental concepts required to build a Laravel API powered by GraphQL. BY Oluyemi Olususi.
Tags php web-development programming apis restful nosql
-
Repository in PHP -- Design pattern with examples
Posted on April 6, 2020, Level beginner Resource Length medium
The Repository pattern is used to create a middle layer between a data layer (which can be a database, a file, a CSV, etc) and your controllers. It is mainly used on large scale application, where there will be dozens of reference to a single data layer. It gives the ability to change the data layer without affecting any code in your controller. By Anastasio Nico.
Tags php web-development programming open-source
-
Zero downtime Laravel deployments with Laravel Deployer and Github Actions
Posted on March 23, 2020, Level intermediate Resource Length medium
Michael Brooks is author of this blog post about Github actions and how they can automate your entire workflow. From building your assets to running your testing and deployment strategies.
Tags php devops web-development cicd
-
What is the Visitor Design Pattern?
Posted on December 8, 2019, Level intermediate Resource Length medium
An article by Jakub Kapuscik about the visitor design pattern. The idea behind the visitor design pattern is to put parts of the code that have specific responsibilities outside of the class.
Tags programming oop php web-development
-
Build a Laravel 6 CRUD app with authentication
Posted on October 2, 2019, Level intermediate Resource Length medium
Learn how to build and secure a travel manager CRUD application with Laravel 6.0. Author will walk through every step of building the application and then add authentication using Auth0. By Holly Lloyd, R&D Content Engineer.
Tags php web-development programming infosec