Articles by Alex Karajos

PHPStorm

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 corr…

Read more →
How to's

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 us…

Read more →
PHP Development

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.

Read more →
PHP Development

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.

Read more →
How to's

Generating a doctrine migration without dropping custom tables

Generating a doctrine migration without dropping custom tables If your application needs to hold some custom (unmapped) tables in the database, then generating migrations with doctrine-migrations diff…

Read more →
How to's

Creating admin accounts in Dotkernel API

Creating admin accounts in Dotkernel API Starting from v3, Dotkernel API introduces support for admin accounts. In this article we will describe two different methods of creating an admin account.

Read more →
How to's

List available endpoints in Dotkernel API using dot-cli

Displaying Dotkernel API endpoints using dot-cli Starting from version 3, Dotkernel API uses dot-cli to display a list of available endpoints. Usage Run the following command in your application’s roo…

Read more →
How to's

Using Postman for documentation in Dotkernel API 3

Using Postman documentation in Dotkernel API 3 Starting from version 3.0 Dotkernel API provides it's documentation using Postman.

Read more →
How to's

Replacing dot-console with dot-cli based on laminas-cli

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 a…

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 presen…

Read more →