PHP Classes

PHP Tutorials

Recommend this page to a friend!

Articles to teach about PHP matters and related topics

  All package blogs All package blogs   Blog PHP Classes blog   Blog PHP Tutorials   Post article Post article  
  276 - 267   266 - 257   256 - 247   246 - 237   236 - 227   226 - 217   216 - 207   206 - 197   196 - 187   186 - 177   176 - 167   166 - 157   ...   6 - 1  

1184. How PHP DomDocument Class Will Be Improved in PHP 8.4 to Parse and Serialize Better HTML5 Documents

Updated on: 2024-01-05

Posted on:

Until PHP 8.3, PHP developers can use the DOMDocument class to parse HTML pages and files to process them helpfully for their PHP applications.

For instance, the DOMDocument can extract information from sites only available on the web pages.

Unfortunately, the DOMDocument class implementation is based on the LibXML2 library, which is only ready to parse HTML 4 documents.

Therefore, PHP 8.4 will be improved to use a new parser library that can process HTML5 pages and files to parse pages with types of elements only available in HTML5.

Most modern sites use HTML5 to generate their pages to take advantage of new HTML page elements not supported by HTML 4.

PHP 8.4 will be the next official version that PHP core developers will release, with improved features and better security protection.

Read this short article to see some PHP code and learn how to take advantage of this improvement of PHP 8.4 and when it will be available for you to use in your PHP applications.


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

1183. How to Use an Artificial Intelligence Image Recognition API to Detect Objects and Enhance the Images with Visual Effects Using Google MediaPipe API

Updated on: 2024-03-13

Posted on:

One of the uses of artificial intelligence is to process images helpfully.

Nowadays, there are APIs that developers can use from any programming language, including PHP, to benefit from the capabilities of those APIs to perform tasks that would be difficult to achieve using traditional programming based on regular algorithms.

Please read this article to learn how to use Google MediaPipe to process images, extract objects in pictures like people, and apply special effects on them.


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

1178. How to Migrate a WordPress to a Better Hosting Service using Cloudways WordPress Migrator Plugin

Updated on: 2023-11-08

Posted on:

Sometimes, evaluating a new hosting service to take advantage of its benefits is a good idea.

When evaluating a new hosting service, it is better to try it before changing from your current hosting service to the new one.

If you have a WordPress-based site, you need to migrate the site to the new hosting service during the test so you can verify if the migration will work well before making a definite move.

Please read this article to learn how to make a smooth migration of a WordPress site and how to test the Cloudways hosting service without committing to paying for it before you decide to move to that hosting service.


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

1177. How to Get PHP Performance Optimization Using the New PHP JIT-ir Proposed for Future PHP Versions

Updated on: 2023-10-31

Posted on:

PHP is continuing to improve version after version. A recent proposal to improve the PHP performance further was just accepted by the PHP core developers group.

This proposal, called JIT-ir, aims to implement a new JIT engine (Just in Time compilation engine) that will replace the current PHP 8.x JIT engine.

Read this article to learn more about what is this new JIT engine and how your PHP code will benefit from this improvement when it is made available in future PHP versions.


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

1176. PHP Current Version Adoption in 2023, AJAX Character Counter, PHP Conferences of November - 8 minutes - Lately in PHP 99

Updated on: 2023-10-12

Posted on:

On the Lately in PHP 99 podcast, you will learn in 8 minutes about the percentages of adoption of PHP versions by members of the Laravel community, a package that can show a character counter using AJAX to measure the length of text entered by a user in text form input, the PHP conferences and user group meetings around the world in November 2023.

Read this article, watch an 11-minute video, or listen to episode 99 audio of the Lately in PHP podcast to learn about the best articles published on the PHP Classes site in the week of October 1 through October 7.


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

1175. What is the PHP Current Version 2023 Adoption

Updated on: 2023-10-06

Posted on:

PHP 8.3 is expected to be released by the end of 2023. Older versions are no longer getting version updates.

Many PHP developers have upgraded to newer PHP versions. Still, not every developer is using the latest stable PHP version.

Read this article to see the current breakdown of PHP version adoption according to the State of Laravel 2023 survey results.

You can also learn about the criteria when upgrading to a newer PHP version at the right time by watching a 5-minute video.


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

1174. PHP 8 Enums to CSS Colors, WordPress Editor, Bot Protection, SVG to PNG Conversion - 6 minutes - Lately in PHP 98

Updated on: 2023-10-05

Posted on:

On the Lately in PHP 98 podcast, you will learn in 6 minutes about a WordPress plugin that implements a visual editor for posts with blocks, a package to convert SVG graphics into PNG images and remove the image transparency using the ImageMagick extension, a WordPress plugin to blocks abusive bots, using PHP 8 enum types to assign names to colors defined by CSS frameworks like Bootstrap and Tailwind.

Read this article, watch a 6-minute video, or listen to episode 98 audio of the Lately in PHP podcast to learn about the best articles published on the PHP Classes site in the week of September 23 through September 30


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

1172. Fast PHP Menu Builder, Pure PHP Automatic Backup, 8 Artificial Intelligence Facts - 3 minutes - Lately in PHP 97

Updated on: 2023-09-28

Posted on:

On the Lately in PHP 97 podcast you will learn in 6 minutes about a fast PHP menu builder package that loads configuration from files, a pure PHP automatic database backup package, 8 artificial intelligence facts that all developers need to know.

Read this article, watch a 6-minute video, or listen to episode 97 audio of the Lately in PHP podcast to learn about the best articles published on the PHP Classes site in the week of September 17 through September 22.


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

1171. October PHP Events, Customize PHP Composer Hooks, Make WordPress Host a Podcast - 6 minutes - Lately in PHP 96

Updated on: 2023-09-27

Posted on:

On the Lately in PHP 96 podcast you will learn in 3 minutes about October PHP Events, Customize PHP Composer Hooks, Make WordPress Host a Podcast.

Read this article, watch a 3-minute video, or listen to episode 96 audio of the Lately in PHP podcast to learn about the best articles published on the PHP Classes site in the week of September 10 through September 16.


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

1169. 8 Top Artificial Intelligence Facts All Developers Need to Know

Updated on: 2024-03-13

Posted on:

Artificial intelligence became a big topic of debate in 2023. Many lay users started to talk about artificial intelligence and new tools that made it easier for that kind of user to take advantage of synthetic intelligence potential.

Please read this article to learn more about some of the facts about artificial intelligence that you should know to take advantage of its potential when it makes sense to use it.


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

  276 - 267   266 - 257   256 - 247   246 - 237   236 - 227   226 - 217   216 - 207   206 - 197   196 - 187   186 - 177   176 - 167   166 - 157   ...   6 - 1  
  All package blogs All package blogs   Blog PHP Classes blog   Blog PHP Tutorials   Post article Post article