Content Negotiation in Dotkernel REST API

Content negotiation is an important aspect of RESTful APIs to make it possible for diverse systems to work seamlessly together. It’s based on enabling clients and servers to agree on the format and language of data they exchange. What is … Read More

Error reporting endpoint in Dotkernel API

Dotkernel API has received a lot of love from our developers, with regular updates to the platform for years. We use Dotkernel API in our projects, so any bugs and issues are addressed as soon as they are found. Still, … Read More

OpenAPI implementation in Dotkernel API

What is OpenAPI? The OpenAPI Specification provides a consistent way to develop and interact with an API. It defines API structure and syntax in a universal way, regardless of the programming language used in the API’s development. API specifications typically … 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

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

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

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

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 will try to drop the custom tables. This article provides a solution on … Read MoreRead More

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