DotKernel API Client Side Authorization

This article covers the basic authorization of a Client application which use a backend built using DotKernel API Authorization Request Client application users send a POST request to the backend containing the following JSON object: { “grant_type”: “password”, “client_id”: “{API_CLIENT}”, … Read More

Adding a CORS implementation to Zend Expressive

This article is a guide on how to add a CORS implementation on an existing DotKernel3 project. The issue If you’re facing this message: “Access to XMLHttpRequest at ‘url’ has been blocked by cors policy. No ‘Access-Control-Allow-Origin header is present … Read More

Handling and Logging errors with dot-errorhandler and dot-log

This article is a follow-up for: Logging with dot-log in Zend Expressive and DotKernel, the mentioned article is a guide to using dot-log.   This article explains the usage of dotkernel/dot-errorhandler with dotkernel/dot-log or zendframework/zend-log to log errors in Zend Expressive applications. This … Read MoreRead 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

DotKernel3 – Stable Release version 1.0

DotKernel was updated to support Zend Expressive 3 alongside with PSR-15 middleware. We have updated the core packages to support PSR-15 Middleware. By updating the core packages both frontend and admin are easier to migrate. The new versions are: frontend -> 1.0.0 admin -> … Read MoreRead 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

[FIX] Installing PEAR packages with PHP 7.2

This article will cover the solution to the PEAR “Cannot use result of built-in function in write context” issue. The Issue If installing a pear package (for instance PHP Code Sniffer), when running: pear install PHP_CodeSniffer This error is shown … Read More

Templating in DotKernel3

DotKernel3 aims to improve the DotKernel stack in every way possible, and one of the painpoints in the previous version of DotKernel was the templating engine. Albeit a solid and robust templating engine, it was also 10 years old, and … Read More

Development Report December 11, 2017

This report contains updates about the DotKernel3 documentation. We have added the release notes for DotKernel3 frontend and admin: you can now check the Release Notes page. Webpack tutorial has been added in the Prerequisites section. The Api Endpoint Documentation Guidelines were … 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