1. How to Debug PHP Code with Better Highlighting to Locate Important Issues Easier in Debug Logs
Updated on: 2021-03-25
Posted on: 2021-03-25
Blog: urp package blog
Package: urp
As part of the debugging activity, displaying values of variables in certain parts of the code that has issues, is an essential part of the developer work.
This class provides a solution to display variable values that can format the values in a colored way to highlight different parts of the values.
The class can also display the name of the section of the code that is being inspected by showing that name near the values of the variable being displayed, as if it was the name of a function that is calling some code passing the variable value as parameter.



1. How to Use a PHP License System to Sell Licenses of PHP Applications to Your Customers
Updated on: 2021-03-24
Posted on: 2021-03-24
Blog: PHPLicengine API package blog
Package: PHPLicengine API
Read this short tutorial article to learn how to use the PHP Licengine API to create and distribute your PHP software products with a license for each customer.



1. How to Scale MySQL using Docker Containers Setup by PHP to Implement MySQL Replication with Apache Kafka
Updated on: 2021-03-22
Posted on: 2021-03-22
Blog: PHP MySQL Replication to Kafka Docker package blog
Package: PHP MySQL Replication to Kafka Docker
When you need to scale an application that uses MySQL, replication is one of the possible solutions that can be used to distribute the database server load among different servers.
Using docker you can assemble a solution for creating multiple MySQL server instances.
This PHP package can be used to manage MySQL replication events in docker contains using Apache kafka.



1. How to Implement a PHP Long Running Process that Uses Linux Systemd to Monitor the Process State
Updated on: 2021-03-22
Posted on: 2021-03-22
Blog: PHP Systemd Daemon Notify package blog
Package: PHP Systemd Daemon Notify
Read this article to learn how you can take advantage of the systemd software to simplify the implementation of your own long running PHP processes.



1. How to Quickly Implement an API using a PHP OpenAPI Parser that Can Generate Routes to Forward Requests to Command Handler Classes
Updated on: 2021-03-19
Posted on: 2021-03-19
Blog: PHP OpenAPI Dispatcher package blog
Package: PHP OpenAPI Dispatcher
Read this tutorial to learn how you can quickly implement an API from an OpenAPI specification file and command handler classes that you develop to handle the API requests without much development effort.



1. How to Implement PHP Jira API to Access to Projects Hosted in the Jira Platform
Updated on: 2021-03-18
Posted on: 2021-03-18
Blog: Mezon PHP Jira API client package blog
Package: Mezon PHP Jira API client
This package provides a solution inquire details of projects managed inside the Jira platform from a PHP application.



1. How to Implement a PHP Bootstrap Form Generator Reading its Configuration from a JSON File
Updated on: 2021-03-17
Posted on: 2021-03-17
Blog: PHP JSON Form Generator for Bootstrap package blog
Package: PHP JSON Form Generator for Bootstrap
One way to provide nice and modern presentation of the forms in the Web pages, is to use the Bootstrap CSS library.
This class provides a solution that can read a JSON configuration file with the definition of the form inputs and other details, like for instance, the Bootstrap CSS classes that should be used to render the forms.
This way, a developer can define both the form inputs and their presentation details in a single configuration file.



1. How Can PHP Read HTTP Response Headers of a Remote Site to Test if It is Working Well
Updated on: 2021-03-16
Posted on: 2021-03-16
Blog: PHP HTTP Headers Information package blog
Package: PHP HTTP Headers Information
One way to perform such kind of check is to send a HTTP request to the site URL and verify if it responds the way that it is expected when the site is working well.
Read this short tutorial article to learn how to quickly check a remote site retrieving the HTTP header responses.



1. How to Implement a Laravel JSON API that Only Allows Clients that Request JSON Responses
Updated on: 2021-03-15
Posted on: 2021-03-15
Blog: Laravel JSON Request Validation package blog
Package: Laravel JSON Request Validation
JSON is nowadays a common format to serve HTTP responses with data values represented as text.
When an API application is only meant to serve JSON based responses, it is useful to refuse serving requests from clients that are not ready to take JSON based responses, like for instance requests from regular browsers that expect HTML pages.
This package provides a solution that can be used in Laravel based applications to refuse serving HTTP requests from clients that are not ready to handle JSON based responses.



1. How to Fix PHP UTF8 Encoding that was Applied to Text Strings More Than Once By Mistake
Updated on: 2021-03-12
Posted on: 2021-03-12
Blog: PHP Convert UTF8 to Latin1 UTF8 Encoded package blog
Package: PHP Convert UTF8 to Latin1 UTF8 Encoded
However, due to programming mistakes, the application may encode the text again as UTF-8, when it was already encoded as UTF-8. This mistake is called double-encoding.
To fix the text that was double encoded, it it is necessary to revert the last step of encoding of the characters.
This class provides a solution, that not only can undo the double-encoding mistake, but it is also able to detect the encoding of a given text, so you can evaluate what encoding it is using.


