How to implement MailChimp in DotKernel API

This article will walk you through the process of implementing MailChimp into your instance of DotKernel API using drewm/mailchimp-api   Step 1: Add the library to your application using the following command: composer require drewm/mailchimp-api   Step 2: Create configuration … Read More

DotKernel API 1.0.0 Released

DotKernel API 1.0.0 was just released!   What is DotKernel API? It is a Zend Expressive 3 application aiming to help developers quickly and efficiently develop an API.   How does it work? Under the hood it uses the following … Read More

DotKernel API Server Side Authorization

This article covers the basic authorization of a Server Side application  built using DotKernel API Protecting an endpoint no-auth: the resource can be accessed without the need of authentication/authorization authentication: the resource can be accessed only by authenticated users authorization: … Read More

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