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  
  1222 - 1213   1212 - 1203   1202 - 1193   1192 - 1183   1182 - 1173   1172 - 1163   1162 - 1153   1152 - 1143   1142 - 1133   1132 - 1123   1122 - 1113   1112 - 1103   ...   2 - 1  

1. How Can PHP Process Large Data Sets More Efficiently Processing Chunks of Data at a Time

Blog: PHP Toolbox package blog
Package: PHP Toolbox

One way to process a large set of data that is stored in an array is to iterate over the array one element at a time and process it.

This package provides a better way to process data in arrays. Instead of processing one element at a time, it processes chunks of multiple elements in each iteration. This way it can do the whole processing in a more efficient way.


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

1. How to Make PHP Run Faster by Comparing Different Coding Approaches to Solve the Same Problems

Blog: PHP Benchmarks package blog
Package: PHP Benchmarks

In PHP, there several ways to achieve the same functionality using different types functions.

This package implements a solution to test the speed of execution of different types of functions that can be used for the same purpose.

This way, you can decide which set functions you should use to make your PHP applications faster.


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

1. How to Boost Your PHP Class Objects with a Minimalist Template Engine using Absint PHP Template Engine Trait

Blog: Absint PHP Template Engine Trait package blog
Package: Absint PHP Template Engine Trait

The Absint PHP Template Engine Trait package provides a PHP trait that you can use to add a template engine to any of your PHP classes just by inserting a single line of PHP code to your class code.

Read this short tutorial to learn more about this PHP trait and how can you use the template engine with code samples.

This will help you understand how to improve the implementation of features of your own PHP classes that can benefit from a ready to use template processing engine.


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

1. How to Use PHP Secure Hashing Functions to Avoid Storing Passwords in Plain Text

Blog: PHP SHA3, SHA512, SHA384, SHA256, SHA224, SHA1, cSHAKE, KMAC, TupleHash, ParallelHash, KangarooTwelve, MarsupilamiFourteen package blog
Package: PHP SHA3, SHA512, SHA384, SHA256, SHA224, SHA1, cSHAKE, KMAC, TupleHash, ParallelHash, KangarooTwelve, MarsupilamiFourteen

SHA is a family of algorithms that process a string of data and compute a number called hash.

Hash computing is useful for several purposes. One of the purposes is to be able to check if the hash of a password entered by the user matches the hash of a password stored in a database.

This way, applications do not need to store plain text passwords in a database, which could cause a serious security problem in the case an application database gets stolen by people with bad intentions.

The package provides a pure PHP implementation of many variants of the SHA hashing algorithm family. Using this package you can implement strong data hashing based solutions, regardless of the PHP version that you use in your server.


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

1. How to Automate Laravel Application Setup to Make it Run with MySQL, NGinx and Envoyer

Blog: PHP App Server Tools package blog
Package: PHP App Server Tools

Laravel is a popular framework to develop PHP applications. Putting a Laravel project to run requires more steps besides setting up the project files.

This package helps doing other important setup steps like setting up the directory of the application, MySQL database access, the NGinx Web server, the integration with the Envoyer application deployment service and some security steps.


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

1. How to Create a PHP PDF Report Generator Script with a Real Example

Blog: PHP PDF Table using FPDF package blog
Package: PHP PDF Table using FPDF

PHP can be used to generate PDF documents of any type with libraries like FPDF.

To generate more advanced PDF documents like those of reports that display data in tables, it is a more complex process as it necessary to create PDF document with table structures with data being displayed in the right table spaces.

Read this tutorial that shows the example PHP code on how to use the package PHP PDF Table using FPDF to create PDF documents with data displayed in tables.


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

1. How to Generate a PHP Google Calendar Add Event Link to Add Tasks to a User Schedule

Blog: PHP Google Calendar Add Event package blog
Package: PHP Google Calendar Add Event

Google Calendar is a popular task scheduling application used by many people.

This package provides a simple way to add a scheduled task to Google Calendar by generating a link with all the parameters of the task.

So when the user clicks on that link, the browser goes to a page of Google Calendar to add the task to his calendar.

This way it becomes simple for a site to add tasks to other people calendars on Google Calendar.


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

1. How to Implement a PHP Queue Jobs System that Will Execute a Tasks by a Specific Order using Job Pipes

Blog: PHP Queue Jobs Piping package blog
Package: PHP Queue Jobs Piping

Sometimes PHP scripts need to execute several tasks that are defined dynamically only when a given script is run.

For instance, this can be the case of a newsletter mailing list processing task that can be split in smaller tasks like 1) pull the list of recipients from a database, 2) merge the recipient information in the newsletter message contents, 3) send the newsletter messages to each recipient.

This package allows implementing a queue of tasks to be run by the same script.

Applications just need to define objects of classes that will run the different tasks and pass them to this package, so the task objects are queued.

Later, this package can run all the tasks one after the other by calling the objects that were queued.

This way this package can simplify the division of complex tasks in smaller tasks that execute simpler steps.


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

1. How Can PHP Recognize Text in Russian Sentences that May Be Misspelled Using Metaphone

Blog: Russian PHP Metaphone package blog
Package: Russian PHP Metaphone

Metaphone is popular algorithm that is used to convert words in a given language to the phonetic representation of the words.

This allows to compare two words or two sentences to detect how similar they may be in terms of pronunciation.

This way it is possible to detect if the user has written a given word or sentence with spelling mistakes.

The pronunciation rules are different from language to language. The most common implementations of the algorithm are meant to be used with sentences in the English language.

This package provides an implementation of the Metaphone algorithm that works well in Russian.


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

1. How to Quickly Implement a PHP JSON Search File Solution Similar to Using XPath for XML

Blog: PHP JSON Path package blog
Package: PHP JSON Path

XPATH is XML based language that is used to defined expressions to finde elements in a XML document that match given criteria.

This package implements a way to search in PHP objects or other type of data structures using a language to define search criteria very similar to XPATH.

It helps searching and processing complex data structures using minimal amount of code.


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

  1222 - 1213   1212 - 1203   1202 - 1193   1192 - 1183   1182 - 1173   1172 - 1163   1162 - 1153   1152 - 1143   1142 - 1133   1132 - 1123   1122 - 1113   1112 - 1103   ...   2 - 1  
  All package blogs All package blogs   Blog PHP Classes blog   Post article Post article  

For more information send a message to info at phpclasses dot org.