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  
  930 - 921   ...   400 - 391   390 - 381   380 - 371   370 - 361   360 - 351   350 - 341   340 - 331   330 - 321   320 - 311   310 - 301   300 - 291   290 - 281   ...   10 - 1  

1. How to Implement a PHP Bootstrap Form Generator Reading its Configuration from a JSON File

Updated on: 2021-03-17

Posted on:

Blog: PHP JSON Form Generator for Bootstrap package blog
Package: PHP JSON Form Generator for Bootstrap

Many applications need to present forms in their pages to request that their users enter data relevant to the application.

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.


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

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:

Blog: PHP HTTP Headers Information package blog
Package: PHP HTTP Headers Information

Sometimes it is necessary to check if a remote site is working as expected.

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.


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

1. How to Implement a Laravel JSON API that Only Allows Clients that Request JSON Responses

Updated on: 2021-03-15

Posted on:

Blog: Laravel JSON Request Validation package blog
Package: Laravel JSON Request Validation

There are certain types of applications, like for instance APIs, that only serve data values as responses.

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.


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

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)


  930 - 921   ...   400 - 391   390 - 381   380 - 371   370 - 361   360 - 351   350 - 341   340 - 331   330 - 321   320 - 311   310 - 301   300 - 291   290 - 281   ...   10 - 1  
  PHP Classes blog PHP Classes blog   Blog All package blogs