Dependency Injection made easy in Laminas/Mezzio applications

Note: The package requires Doctrine ORM. Still, it can be used in applications which do not integrate Doctrine. So, first thing first, the problem. You have a Laminas / Mezzio application with a bunch of services that you need to … Read More

DotKernel API versus Laminas API Tools

Below we have created an analysis of the basic features available in Laminas Api Tools and DotKernel API. It’s intended to highlight the differences between the two and also to showcase why DotKernel API is a good alternative for Laminas … Read More

MIT versus LGPL in practice: Dotkernel case

After a recent analysis, we discovered that one of the upstream packages we use is licensed under LGPL v3. Even though we at DotKernel use the MIT license for our open source projects, the more restrictive license must be applied … Read More

PHP 8.3 support in Dotkernel API

The last remaining application to be updated to support PHP 8.3 is the API, now at v4.2.1. The steps taken to perform the update are similar to the ones in the update for the Frontend. The full list of file … Read More

Doctrine cache using symfony/cache

When it comes to web development, performance is one of the critical elements that influence the success of an application. Developers focus on improving response times and overall speed to enhance the user experience. When a user visits a website or … Read More

PHP 8.3 support in Dotkernel Frontend

To be able to take advantage of the support for PHP 8.3 in the newest packages, the DotKernel team has updated the Frontend Application to version 4.2.0. Very much like for the Admin update before it, the Frontend must also … Read More

PHP 8.3 support in Dotkernel Admin

With the release of PHP 8.3, the DotKernel team has been working on updating the dependencies in our packages. Eventually, this allowed us to update our Applications as well, starting with the Admin, in release 4.3.1 There were some issues … Read More

Code Quality: How to setup phpcs in PHPStorm

PHP_CodeSniffer or phpcs is a tool that helps developers maintain a specific standard in the way they write code. In order to be able to provide relevant information, phpcs needs to be configured correctly in PHPStorm (see image). Whether you … Read More

Implementation of SEO friendly URL in an generic Laminas Mezzio app

Prerequisites: In the vast digital landscape of the internet, where websites compete for attention, having a well-crafted URL can make a significant difference. By incorporating human-readable slugs into website URLs, we can enhance user experience, improve search engine optimization (SEO), … Read More

Dotkernel API: architecture and components

Based on Enrico Zimuel’s Zend Expressive API – Skeleton example, Dotkernel API runs on Mezzio microframework   andLaminas components and implements standards like PSR-3, PSR-4, PSR-7, PSR-11 and PSR-15. Here is a list of the core components: Doctrine 2 ORM For the … Read More