PHP Classes

All package blogs

Recommend this page to a friend!

Latest posts of all package blogs

  PHP Classes blog PHP Classes blog   Blog All package blogs  
  897 - 888   ...   397 - 388   387 - 378   377 - 368   367 - 358   357 - 348   347 - 338   337 - 328   327 - 318   317 - 308   307 - 298   297 - 288   287 - 278   ...   7 - 1  

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:

Blog: PHP Convert UTF8 to Latin1 UTF8 Encoded package blog
Package: PHP Convert UTF8 to Latin1 UTF8 Encoded

Sometimes applications store text that was given by the application users using UTF-8 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.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

1. How to Implement a PHP Image Classification System by Recognizing Relevant Objects in Pictures

Updated on: 2021-03-11

Posted on:

Blog: Darknet PHP Image Recognition Library package blog
Package: Darknet PHP Image Recognition Library

Neural networks are means to implement artificial intelligence solutions that are based on learning patterns and recognizing them, like for instance recognizing a certain type of object in a picture.

This package provides a solution for recognizing objects in pictures using the Darknet library to implement the YOLO (You Only Look Once) algorithm.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

1. How to Implement a Better PHP Arabic Text Display Solution

Updated on: 2021-03-10

Posted on:

Blog: PHP AWR class package blog
Package: PHP AWR class

Rendering text in the Arabic language is a challenge because not only it requires displaying text using letters of an alphabet that is distinct from the Latin alphabet, but it also requires rendering text from the right side to the left.

Read this article to learn how to solve the challenges of displaying text in Arabic using the AWR class.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

1. How to Create a Fast Pure PHP HTTP Server using ReactPHP

Updated on: 2021-03-09

Posted on:

Blog: Simple React PHP HTTP Server package blog
Package: Simple React PHP HTTP Server

ReactPHP is a popular PHP library that can be used to develop application using asynchronous programming.

This allows applications to make more efficient use of the server machine CPUs, by executing tasks in parallel, while other tasks are waiting for a response from an external process or system, like for instance, a database server that takes time to a execute a query.

This package takes advantage of the ReactPHP library asynchronous programming features to implement an efficient custom HTTP server totally written in PHP.

The package allows developers to create Web applications just by creating handler functions or controller classes that process the requests for specific URLs and return the responses.

This way, PHP developers can write pure PHP Web applications without needing to use external Web server applications.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

1. How to Implement Better PHP REST API Exception Handling Adding More Details About the Exception Context

Updated on: 2021-03-06

Posted on:

Blog: Mezon REST Exception package blog
Package: Mezon REST Exception

Exceptions are special kind of class that is useful to pass details of errors that may happen within an application.

Usually exception classes carry information about the errors that includes an error message and an error code that can be useful to help applications to treat the errors in a a more convenient way for its users.

This package extends the information that is usually stored in an exception class. It adds details like the HTTP status code, request body and request URL, which may be useful for instance to generate error logs for applications that implement APIs.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

1. How to Implement a PHP GitHub API Client to Access Github Web Services

Updated on: 2021-03-05

Posted on:

Blog: Github PHP API Library package blog
Package: Github PHP API Library

Github is a very popular site among developers of many programmers languages, as it can be used to host repositories of code that can be accessed with the Git version control tool.

An alternative way to access the project files in Github is to use its API.

Read this article to learn how you can easily access this project files hosted in Github using PHP without having to use the Git tool.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

1. How to Implement a PHP Companies Check Solution to Validate Legitimate Business

Updated on: 2021-03-04

Posted on:

Blog: PHP Companies Lookup package blog
Package: PHP Companies Lookup

Many business need to support other companies in a secure way. Usually they need to verify if those other companies are legitimate and are active.

This package provides a solution to perform such kind of verification in quick and easy way by accessing the Companies House Database API available for companies in the United Kingdom.

This way, this package can simplify the process of companies work with other companies with greater security.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

1. How to Quickly Display the License of a PHP Creative Commons Project in a Web Page

Updated on: 2021-03-02

Posted on:

Blog: PHP Creative Commons Logo package blog
Package: PHP Creative Commons Logo

Creative Commons is a popular license used by many developers to release their software to the public and allow royalty free used with minimal licensing requirements.

There are several variants of the Creative Commons licenses.

This class provides a solution to display the logo image of a Creative Commons license variant in a Web page with a link to the respective page on the Web with the details of that license.

This may be useful to many developers that display the creative commons license logo link in a Web page of their Open Source projects.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

1. How to Implement Secure PHP Hashing Algorithms to Detect When Sensitive Data May Have Been Altered Without Your Permission

Updated on: 2021-03-01

Posted on:

Blog: PHP Hash Blake2 package blog
Package: PHP Hash Blake2

Blake is a hashing algorithm used to create hash values from sets of data.

The hash values can be used to verify if a given data block was modified during an eventual security attack.

Such security attacks are usually aimed to alter data or programs that could make them work in a dangerous way for the users that receive that data or programs.

This package provides a pure PHP solution to implement the Blake 2 hashing algorithm.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

1. How to Create a PHP Password Database File to Use with KeePass Password Manager

Updated on: 2021-02-26

Posted on:

Blog: PHP KeePassX Writer package blog
Package: PHP KeePassX Writer

KeePass is a password management application that allows its users to securely store passwords that can be used to access certain sites.

With this application, users do not need to remember and type those passwords every time they need to access a site that is protected by requiring its users to enter a password.

This package allows PHP scripts to run from the command line to create a database file with given site passwords.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)


  897 - 888   ...   397 - 388   387 - 378   377 - 368   367 - 358   357 - 348   347 - 338   337 - 328   327 - 318   317 - 308   307 - 298   297 - 288   287 - 278   ...   7 - 1  
  PHP Classes blog PHP Classes blog   Blog All package blogs