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 Laminas and Mezzio 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 persistence in a relational … Read More

What is cross origin token redemption?

What is cross origin token redemption? Cross-origin token redemption is a technique used to ensure the security and authenticity of a token that is issued by one website or domain, but intended for use on a different website or domain. … Read More

AlmaLinux 9 in WSL2 : install PHP, Apache, MariaDB, Composer, PhpMyadmin

In this article we will demonstrate how we install AlmaLinux 9 using Windows Subsystem for Windows (WSL2). First, you need to check if your machine is ready for using WSL2. Open Windows Terminal and execute the following command: The output … Read More

Sunsetting PEAR Channel for Zend Framework 1

Sunsetting PEAR Channel for Zend Framework 1 The unofficial PEAR channel for Zend Framework 1 was created in 2016 , at the time when PEAR was still used a lot. Due to the fact that is a pain to upgrade … Read More

API Endpoint to Collect Client Errors

API Endpoint to Collect Client Errors Let’s say you have a (Client) Frontend (e.g. Angular) over a Dotkernel API and there may be cases when there are errors, eighter the API changed it’s response(s) over night or just a simple … Read More

Mezzio app development in WSL2

Install a Mezzio app (DotKernel API) using WSL2 This article will run you through the steps of installing a Mezzio application (DotKernel API) in WSL2 and run it on Ubuntu 20.04 LTS. Step 1: Make sure you have WSL2 installed … Read More

Database seeding: Doctrine data fixtures vs Phinx

Database seeding: Doctrine data fixtures vs Phinx Seeding the database means populating the database with initial values, it’s commonly used for seeding the user roles and user accounts. Seeding the database the right way is no easy feat, and we … Read More