PHP 81



Installing & setting up Symfony 6

  • avatar
  • 2.6K Views
  • 4 mins read
Preview image

Symfony is a PHP web application framework and a set of reusable PHP components/libraries. Symfony aims to speed up the creation and maintenance of web applications and to replace repetitive coding tasks. It's also aimed at building robust applications in an enterprise context, and aims to give developers full control over the configuration: from the directory structure to the foreign libraries, almost everything can be customized.

Getting started with CQRS in PHP

  • avatar
  • 1.9K Views
  • 5 mins read
Preview image

CQRS stands for Command Query Responsibility Segregation. It's a pattern that separates how an application reads data from how it writes data. This approach can help structure code more clearly, especially in systems that deal with complex business logic or need to scale certain operations differently.

Custom authentication in Laravel

  • avatar
  • 1.6K Views
  • 10 mins read
Preview image

Laravel ships with a solid authentication system out of the box, and most projects are well served by it. But there are situations where you need to authenticate users against something completely different: a legacy database, an external API, an LDAP server, or some other custom data source. Laravel's authentication system is built around a set of contracts and driver hooks that make this surprisingly straightforward to implement.

 Join Our Monthly Newsletter

Get the latest news and popular articles to your inbox every month

We never send SPAM nor unsolicited emails

How to create Symfony project

  • avatar
  • 3.0K Views
  • 3 mins read
Preview image

Symfony is a PHP web application framework and a set of reusable PHP components/libraries. Symfony aims to speed up the creation and maintenance of web applications and to replace repetitive coding tasks. It's also aimed at building robust applications in an enterprise context, and aims to give developers full control over the configuration: from the directory structure to the foreign libraries, almost everything can be customized.

Clean query building using Criteria

  • avatar
  • 1.8K Views
  • 1 Like
  • 5 mins read
Preview image

Criteria is a framework-agnostic PHP package that simplifies the use of the criteria pattern for filtering, sorting, and paginating data. It helps separate query logic from repositories, making the codebase easier to maintain and extend over time. By using Criteria, developers can handle complex querying needs without spreading filter logic across different parts of the application.

How to install & start using Composer

  • avatar
  • 2.9K Views
  • 2 mins read
Preview image

Composer is a tool for dependency management in PHP. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you.

Composer requires PHP 5.3.2+ to run. A few sensitive PHP settings and compile flags are also required, but when using the installer you will be warned about any incompatibilities.

What's new in PHP 8.5

  • avatar
  • 1.3K Views
  • 6 mins read
Preview image

PHP 8.5 lands with a pack of features that smooth out daily development, remove long-standing friction points, and make functional patterns far easier to write. It feels like a release focused on practical wins: cleaner code, stronger introspection tools, safer configuration defaults, and more helpful debugging. Let's walk through the most interesting additions.

How to create a Composer package from scratch

Available to Premium members only
  • avatar
  • 355 Views
  • 1 Like
  • 16 mins read
Preview image

A helper class, a small client wrapper or a set of validation rules often starts in one project and ends up copied into the next one. From that point the copies drift apart, a bug fixed in one of them stays open in the rest, and there is no version number to refer to when something changes.

Turning that code into a Composer package removes the copies. The requirements are modest, since a package is a directory containing a valid composer.json file, a Git repository hosting it, and a listing on Packagist that tells Composer where to find it.