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  
  486 - 477   476 - 467   466 - 457   456 - 447   446 - 437   436 - 427   426 - 417   416 - 407   406 - 397   396 - 387   386 - 377   376 - 367   ...   6 - 1  

1. How to Implement a PHP CLI Arguments Parser To Pass Arrays or Objects to PHP Console Commands

Updated on: 2021-08-18

Posted on:

Blog: strargs package blog
Package: strargs

Command-line scripts that can run from an operating system console of a computer can take a list of parameters as a string passed in the front of the command name.

Usually, this string is processed to extract the parameter names and the values.

This package can extract the values of parameters passed as a string. It can also extract the values of parameters of more complex types like arrays or objects. It can decode parameter values that may be passed using the JSON format.


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

1. How to Create a PDF Label Printing Software in PHP

Updated on: 2021-08-17

Posted on:

Blog: PHP Print Labels to PDF package blog
Package: PHP Print Labels to PDF

Sometimes you need to print labels with addresses or other information that need to be personalized with the details of many people.

You can solve that problem by generating PDF documents that show areas for each label containing the details of the people you want to appear.

Read this tutorial article to learn how to generate such PDF files using simple code that calls the PHP Print Labels PDF package to produce those files.


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

1. How to Implement Better PHP Machine Learning Projects Training Them with Better Data

Updated on: 2021-08-16

Posted on:

Blog: CSV Pair File package blog
Package: CSV Pair File

Machine learning is a process used in many artificial intelligence systems by which the software tries to learn patterns of values that it will later try to recognized autonomously.

The machine learning process starts with training the system with some values that it should recognize and the desired values that the system should output when it has learned to recognize the patterns correctly.

This package helps prepare different sets of values to train a machine learning system from the same set of input values and desired output values.


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

1. How Can Laravel Translation Package Be Used to Internationalize Applications with Texts Stored in Model Classes

Updated on: 2021-08-11

Posted on:

Blog: Laravel Translatable package blog
Package: Laravel Translatable

Many applications need to be prepared to work with users that understand different languages. Therefore the text that is presented to them must be translated to multiple languages.

This problem requires improving those model classes for applications that store texts dynamically in databases using model classes.

This way, applications can retrieve the correct text translations depending on the current user's preferred language.

This package provides a trait that can enhance the capabilities of model classes used in Laravel based applications.

The trait can access the translated text values stored in model objects depending on the current user language.


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

2. How to Wiki GitHub Pages Automatically for PHP Projects using PHPDocumentor

Updated on: 2021-08-10

Posted on:

Blog: PHPDoc 2 Github Wiki package blog
Package: PHPDoc 2 Github Wiki

Github is a popular site for hosting the revisions of files of projects of many developers.

Many PHP developers have already written nice documentation inside the source files of projects that are hosted in Github.

Github can render and display documentation in Markdown format.

This package can extract documentation from PHP projects hosted in Github and generates documentation in Markdown format using phpDocumentor. Then it pushes the generated documentation files to Github to be viewed as a Web page.


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

1. How to Implement a PHP MySQL Schema Migration Tool to Safely Upgrade an Application Database Schema

Updated on: 2021-08-06

Posted on:

Blog: PHP MySQL Scheman package blog
Package: PHP MySQL Scheman

Database schema changes are necessary to perform when an application needs to evolve and store more information in its database tables.

Changing a database schema is a delicate operation. The changes to be done on the database schema need to be done in the right order and use the correct SQL statements so that multiple changes can be done successfully.

This package provides a safer solution by generating a JSON file with the current database table schema definition.

Then the developer can make the database schema changes he wants in the JSON file so that the package can perform the necessary changes executing the correct SQL statements in the correct order.


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

1. How to Implement PHP Automated Testing for Projects that Generate HTML Output

Updated on: 2021-08-04

Posted on:

Blog: PHP HTML Test Case package blog
Package: PHP HTML Test Case

PHPUnit is a popular PHP package to create test suites. It helps developing code that tests the quality of PHP projects.

This package provides classes that use PHPUnit testing features to test the HTML output of PHP projects.

This way, it simplifies the control of the quality of PHP projects that need to generate HTML output.


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

1. How to Generate PHP Documentation from Comments in PHPDoc Format to Create a Github Wiki

Updated on: 2021-08-02

Posted on:

Blog: PHPDoc 2 Github Wiki package blog
Package: PHPDoc 2 Github Wiki

Github Wikis provide a means to create documentation for a package in a simple way. This way, developers can update documentation easily while the versions of documentation wiki are maintained also in Git repository.

Read this article to learn how to create documentation automatically for your PHP packages using phpDocumentor and then have that documentation updated in a Github wiki.


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

1. How to Implement a PHP Read Time Estimate to Show in Blog Article Pages

Updated on: 2021-07-30

Posted on:

Blog: PHP Read Time package blog
Package: PHP Read Time

Many users like to read blogs about interesting topics, but often they do not have much time to read long articles.

This class can estimate the time that an article could take to be read by an average user.

This way, sites can show the estimated read time to help users decide if they have the time to read the article when they look at it for the first time or leave it later.


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

1. How To Generate Blockies Identicon Images in PHP to Show a Graphical Representation of a Text String

Updated on: 2021-07-28

Posted on:

Blog: PHP Blockies package blog
Package: PHP Blockies

Blockies are images that can represent a given text graphically.

This package can generate blocky images for a given text in SVG formats to be displayed in multiple sizes with good quality.


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


  486 - 477   476 - 467   466 - 457   456 - 447   446 - 437   436 - 427   426 - 417   416 - 407   406 - 397   396 - 387   386 - 377   376 - 367   ...   6 - 1  
  PHP Classes blog PHP Classes blog   Blog All package blogs  
For more information send a message to info at phpclasses dot org.