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  
  1392 - 1383   1382 - 1373   1372 - 1363   1362 - 1353   1352 - 1343   1342 - 1333   1332 - 1323   1322 - 1313   1312 - 1303   1302 - 1293   1292 - 1283   1282 - 1273   ...   2 - 1  

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)

1061. The Wonderful PHP 8 Features and Changes Part 4: How Can the PHP 8 match($expression) Be Useful to PHP Developers - 12 Minutes Lately in PHP Podcast Episode 88

Updated on: 2021-08-11

Posted on:

PHP 8.0 introduces the match() expression that allows PHP developers to implement a new way to define what code should be run depending on the value of an expression that should match. This is an evolution of the traditional switch/case blocks available in PHP since its initial versions.

Manuel Lemos and Samuel Adeshina comment specifically about the PHP 8 match() expression in the fourth part of this podcast episode.

Listen to the podcast, watch the video with manually edited subtitles in English, read the transcript to learn more about these exciting PHP 8 topics, and find where to buy the original PHP elePHPants shown in the podcast video.


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)

1060. The Wonderful PHP 8 Features and Changes Part 3: The PHP 8 Named Parameters - 17 Minutes Lately in PHP Podcast Episode 88

Updated on: 2021-08-05

Posted on:

One of the oldest complaints of PHP developers is remembering the right order of the parameters of many PHP functions that they use.

PHP 8.0 introduces named parameters that allow PHP developers to specify the function parameters by name, regardless of the correct order.

Manuel Lemos and Samuel Adeshina comment specifically about the PHP 8 Named Parameters in the third part of this podcast episode.

Listen to the podcast, watch the video with manually edited subtitles in English, read the transcript to learn more about these exciting PHP 8 topics, and find where to buy the original PHP elePHPants shown in the podcast video.


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)

1059. The Wonderful PHP 8 Features and Changes Part 2: The PHP 8 Null Safe Operator - 11 Minutes Lately in PHP Podcast Episode 88

Updated on: 2021-08-05

Posted on:

PHP 8.0 implements many excellent features requested by the PHP community to help improve many aspects of how developers can create their PHP projects.

The Lately in PHP podcast covered several of those features to explain how they work and what are their benefits for the PHP developers that can use PHP 8.

In the second part of this podcast episode, Manuel Lemos and Samuel Adeshina comment specifically about the PHP 8 Null Safe Operator.

Listen to the podcast, watch the video with manually edited subtitles in English, read the transcript to learn more about these exciting PHP 8 topics, and find where to buy the original PHP elePHPants shown in the podcast video.


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)

  1392 - 1383   1382 - 1373   1372 - 1363   1362 - 1353   1352 - 1343   1342 - 1333   1332 - 1323   1322 - 1313   1312 - 1303   1302 - 1293   1292 - 1283   1282 - 1273   ...   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.