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

This article refers to Dotkernel API v5. Checkout out the new additions for Dotkernel API v6 to stay up-to-date. Based on Enrico Zimuel’s Zend Expressive API – Skeleton example, Dotkernel API runs on Mezzio microframework   andLaminas components and implements standards like … 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 Linux (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

Dotkernel Admin V4

Getting Started with Dotkernel Admin V4 DotKernel’s PSR-7 Admin is an application based on Mezzio, with the main purpose of managing and displaying tabular data from one or more databases components. On 19 July 2022 Dotkernel Admin V4 has been … Read More