php base



PHPStan 2.0 Released

  • 697 Views
  • 1 Like
  • 1 min read
Preview post image

It’s been over three years since PHPStan 1.0 came out, and the progress has been incredible. With 176 releases since then, it’s clear this tool isn’t slowing down. PHPStan 2.0 is here with smarter features, better performance, and tighter checks to make PHP development more reliable and efficient. Let’s break down the highlights of what’s new.

How to create Symfony project

  • avatar
  • 1.7K Views
  • 3 mins read
Preview post 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
  • 371 Views
  • 1 Like
  • 5 mins read
Preview post 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.

 Join Our Monthly Newsletter

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

We never send SPAM nor unsolicited emails

Getting started with Memcache for PHP

  • avatar
  • 285 Views
  • 1 Like
  • 5 mins read
Preview post image

Memcache is a caching system that stores data in memory to make applications faster and more efficient. It works across multiple languages, including PHP, Python, Ruby, and others. In the context of PHP, it can reduce database load and speed up page rendering by keeping frequently accessed data available in memory. This article focuses on how to use Memcache specifically with PHP.

Getting started with CQRS in PHP

  • avatar
  • 83 Views
  • 5 mins read
Preview post 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.