PHP Classes

PHP Classes blog

Recommend this page to a friend!

Latest PHP Classes blog posts

  All package blogs All package blogs   Blog PHP Classes blog   Post article Post article  
  1934 - 1925   ...   1854 - 1845   1844 - 1835   1834 - 1825   1824 - 1815   1814 - 1805   1804 - 1795   1794 - 1785   1784 - 1775   1774 - 1765   1764 - 1755   1754 - 1745   1744 - 1735   ...   4 - 1  

1. How to Use a PHP OpenSSL Encrypt Large File Package to Protect Large Data Without Using Too Much Memory

Updated on: 2023-07-02

Posted on:

Blog: PHP Encryption Tools package blog
Package: PHP Encryption Tools

Some applications must encrypt data before storing or transmitting it to other computers.

Existing PHP extensions like OpenSSL support great encryption algorithms.

Usually, these algorithms are used to encrypt data from small text strings.

This package implements classes that can encrypt and decrypt large data by reading the data from files.

This way, these classes can handle encrypting and decrypting data that may take more memory than the limit that PHP is configured to use.


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

1. How to Display a PHP Website Top Pages in a Block Using ASCOOS Content Management System

Updated on: 2023-06-30

Posted on:

Blog: ASCOOS CMS Popular Contents package blog
Package: ASCOOS CMS Popular Contents

Many sites are managed using content management systems that can perform common resources that the site owners want to provide to the site users.

Having a page with a list of the most popular content is an excellent resource that is interesting for content sites to have.

This package provides a module for the ASCOOS content management system that can generate a block to display in a site managed by this system to display the top content on one or more pages.


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

1. How to Perform PHP Object Initalization from Arrays or Named Parameters

Updated on: 2023-06-29

Posted on:

Blog: PHP Plain Object with Class Variables Set from Array Values package blog
Package: PHP Plain Object with Class Variables Set from Array Values

Hydration is the process of initializing an object variable using values obtained separately.

A hydration class can, for instance, take an associative array, traverse the array values and assign class variables with the values of the array entries that have the same key value as the class variable name.

This package allows hydrating of an object from an associate array with the class variable values.

If you run PHP 8 or later, the package can hydrate an object of named argument values. This way, the object creation and initialization can be done using a single line of readable PHP code.


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

1. How to Retrieve PHP Application Configuration in a Secure Way Using Encrypted Environment Variables Stored Remotely

Updated on: 2023-06-28

Posted on:

Blog: EnvKey PHP package blog
Package: EnvKey PHP

Many PHP applications use environment variables to share configuration values between different parts of the code, such as database configuration values.

Often these configuration values are sensitive information that should be kept private to protect that information.

This package uses an extension that loads and saves environment variables and the respective values in a remote service named EnvKey in an encrypted way.

This way, the application can share environment variable values for an application that can use a hosting environment distributed between multiple machines.

It uses encryption to avoid sharing sensitive information with the EnvKey service.


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

1. How to Use a PHP Image Compression on Upload to Reduce the File of Large Image

Updated on: 2023-06-27

Posted on:

Blog: PHP Image Compressor on Upload package blog
Package: PHP Image Compressor on Upload

Some PHP sites take images from users using upload forms. When the sites take too many photos, it may exceed the disk space provided by the hosting company.

To avoid exceeding the available disk space and still be able to take many image files uploaded by the site users, using a compression solution may help.

This package can reduce the file size of uploaded images by processing the image files and saving them with a lower quality factor.

The image quality may be lost, but the files may take up much less space.

This way, PHP developers that use this approach avoid paying more money to the hosting company when they manage sites that need to take a lot of images that may occupy a lot of disk space.


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

1160. PHP Classes Site 24th Anniversary and Future Plans

Updated on: 2023-06-26

Posted on:

The PHP Classes site completed 24 years of existence.

We are swamped working on new developments that will benefit the site community.

Please read this article to learn more about the upcoming developments that will help you have a better life as a developer.


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

1. How to Use a PHP Holiday Library to Find the Exact Date of Well Known Holidays Every Year

Updated on: 2023-06-26

Posted on:

Blog: PHP Holidays for Family Members Class package blog
Package: PHP Holidays for Family Members Class

Several types of holidays may be exceptional because they celebrate the lives of unique members of each family. That is the case of Mother's Day, Father's Day, Grandmother's Day, and Grandfather's Day.

The exact date of these holidays may change year after year.

This class can perform calculations to determine the dates of those holidays.


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

1. How to Check If You Are Using the PHP Line Length Best Practices

Updated on: 2023-06-24

Posted on:

Blog: PHP Line Length Detector package blog
Package: PHP Line Length Detector

Many developers look at other developers' code to determine if they can understand what the code does to decide if it is helpful to use in their projects.

The readability of PHP code is one factor that may help other developers to understand the code that one developer writes.

One aspect of the readability of the code is the length of the line of code. PHP code that has very long lines is tough to read.

This package can analyze the PHP code of given source files to return valuable statistics about the length of the lines of code of those source files.

This way, other developers may know how easy or hard to read the code of a PHP project can be.


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

1. How to Use a WordPress Hotel Booking Plugin to Allow Users to Book Rooms Without Leaving the Hotel Site Implemented Using WordPress

Updated on: 2023-06-23

Posted on:

Blog: WordPress Hotel Booking Plugin package blog
Package: WordPress Hotel Booking Plugin

Hotel room booking is part of the promising business sector that is tourism.

This package implements a plugin that can be used to implement the hotel booking process from a WordPress site.

The WordPress site can promote a hotel's business with content about the hotel and nearby locations that may be useful to tourists.

The plugin calls a custom API that needs to be provided on the server side to perform the actual room checking and booking actions.

This way, this package can work with many types of booking systems that already exist.


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

1. How to Add Frequently Asked Questions to WordPress Articles using a WordPress FAQ Plugin

Updated on: 2023-06-23

Posted on:

Blog: WordPress FAQ Plugin Block Element package blog
Package: WordPress FAQ Plugin Block Element

WordPress is a well-known content management system that is very popular partly due to the possibility of being extended with plugin packages that can increase the list of WordPress site features.

A WordPress plugin can be used to insert blocks of content that may increase the interest and relevance of the content published on a site.

This package provides a plugin that allows published to edit and publish FAQ (Frequently Asked Questions) blocks in WordPress pages.


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

  1934 - 1925   ...   1854 - 1845   1844 - 1835   1834 - 1825   1824 - 1815   1814 - 1805   1804 - 1795   1794 - 1785   1784 - 1775   1774 - 1765   1764 - 1755   1754 - 1745   1744 - 1735   ...   4 - 1  
  All package blogs All package blogs   Blog PHP Classes blog   Post article Post article