1161. 3 PHP 8.3 New Features Implemented Before Feature Freeze
Updated on: 2023-08-15
Posted on: 2023-07-07
The feature freeze date is coming on July 18, 2023. After that date, adding more new features to PHP 8.3 will not be allowed.
Therefore several proponents of new PHP 8.3 features that were voted accepted have finally added the code to implement those features.
There will be a few months to test these features before the final PHP 8.3.0 release.
Read this article to learn what those features just implemented for PHP 8.3, so you know what you can expect when the final PHP 8.3.0 is released.



1. How to Upgrade to a Newer PHP Version Using a PHP Backwards Compatibility Library
Updated on: 2023-07-13
Posted on: 2023-07-06
Blog: PHP Backwards Compatibility Library package blog
Package: PHP Backwards Compatibility Library
If your PHP applications rely on parts of the language that were changed, you may need to change your code to keep it working in the new PHP version that runs on the machine your PHP application is running.
Suppose your PHP application relies on PHP function or other parts of the language that changed in a backward incompatibility way. In that case, you may need to change your PHP application code to adapt to the PHP version changes.
This package provides a library of scripts with PHP functions that emulate the functions introduced in newer PHP versions.
Using this library, you can adapt your PHP application code to make it work in a newer PHP version without having to upgrade the PHP version that you use in the environment your PHP application is running.
This way, you can change your PHP application code to prepare to make it work in newer PHP versions making a smooth transition between PHP versions.



1. PHP ChatGPT API Example to Seed Database Records With Useful Constant Data Like Countries List
Updated on: 2023-07-05
Posted on: 2023-07-05
Blog: PHP ChatGPT API Seeder package blog
Package: PHP ChatGPT API Seeder
Usually, developers need to manually feed this data into the application to store the data in the respective database table records.
This package provides a more automated approach to solving this problem. It uses the ChatGPT API to retrieve the necessary data and inserts it in the expected database table records.



1. How Can PHP Export MySQL Query Results to Excel XLSX File Served for Download
Updated on: 2023-07-05
Posted on: 2023-07-04
Blog: PHP Export MySQL Query to Excel package blog
Package: PHP Export MySQL Query to Excel
Sometimes the data they need to view or manipulate is stored in a database.
Many PHP applications use a MySQL server to store data that the people or companies want to view in Microsoft Excel.
This package provides a simple PHP script that shows how to extract data from a MySQL database and generate a Microsoft Excel spreadsheet that can be downloaded and viewed in the Microsoft Excel application of the user that accesses the PHP site that uses MySQL.



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: 2023-07-02
Blog: PHP Encryption Tools package blog
Package: PHP Encryption Tools
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.



1. How to Display a PHP Website Top Pages in a Block Using ASCOOS Content Management System
Updated on: 2023-06-30
Posted on: 2023-06-30
Blog: ASCOOS CMS Popular Contents package blog
Package: ASCOOS CMS Popular Contents
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.



1. How to Perform PHP Object Initalization from Arrays or Named Parameters
Updated on: 2023-06-29
Posted on: 2023-06-29
Blog: PHP Plain Object with Class Variables Set from Array Values package blog
Package: PHP Plain Object with Class Variables Set from Array Values
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.



1. How to Retrieve PHP Application Configuration in a Secure Way Using Encrypted Environment Variables Stored Remotely
Updated on: 2023-06-28
Posted on: 2023-06-28
Blog: EnvKey PHP package blog
Package: EnvKey PHP
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.



1. How to Use a PHP Image Compression on Upload to Reduce the File of Large Image
Updated on: 2023-06-27
Posted on: 2023-06-27
Blog: PHP Image Compressor on Upload package blog
Package: PHP Image Compressor on Upload
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.



1160. PHP Classes Site 24th Anniversary and Future Plans
Updated on: 2023-06-26
Posted on: 2023-06-26
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.


