Replacing dot-console with dot-cli based on laminas-cli Implementing dot-cli in your application DotKernel’s dot-cli package comes as a replacement for dot-console, which was abandoned after Laminas abandoned their laminas-console package, that dot-console was based on. … Read More
How to’s
CORS policy setup in Dotkernel using mezzio-cors
CORS policy setup in Dotkernel using mezzio-cors Error message Access to fetch at RESOURCE_URL from origin ORIGIN_URL has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Most developers have encountered this error when interacting … Read More … Read More
How to group log files by date using dot-log
As described in this article, dot-log is a powerful tool for logging messages in your application. It’s power stays in the fact that it can be implemented in a few easy steps and that it’s highly customizable. … Read More
Doctrine Cache in Mezzio and Dotkernel
Doctrine caching in DotKernel Following version 2 of doctrine/cache, in 2024 we published an update to this article here: https://www.dotkernel.com/dotkernel/doctrine-cache-using-symfony-cache/ Using an ORM in production without any sort of cache strategy is a very bad move. The Database server chokes; … Read More
Logging with dot-log in Zend Expressive and DotKernel
This article will explain the usage of the dot-log component within DotKernel, Zend Expressive or in a project that uses Zend Service Manager. Since dot-log extends zendframework/zend-log this tutorial mostly compatible with zend-log as well. … Read More
Migrating DotKernel 3 from Zend Expressive 2 to Zend Expressive 3
This article covers the steps required to migrate a DotKernel 3 instance to the latest Zend Expressive Version. … Read More
Using the URLGenerator work in FastRoute
DotKernel 3 uses FastRoute under the hood, which is an excellent and fast routing package, but it does have some quirks. A wrong setup can lead to many headaches, as it’s not prominent that the error you’re experiencing is from … Read More
Database migrations and how to use them
Migrations, the superhero your database deserves Migrations ease the process of working together on projects, as well as deploying the database changes. A newly released package for the DotKernel stack integrates migrations and seeders into the application; This is … Read More
What is PSR-7 and how to use it
What is PSR-7 and how to use it PSR-7 is a set of common interfaces defined by PHP Framework Interop Group. These interfaces are representing HTTP messages, and URIs for use when communicating trough HTTP. Any web application using this … Read More
Disambiguation: DotKernel 1 and DotKernel 3
What is DotKernel? The name DotKernel symbiotically combines the string Dot, as a representation of the Internet, and Kernel, the quintessence of any IT application. In other words Dotkernel wishes to be, with modesty, the central part of the Internet development … Read More