1. How to Setup Applications to Use Dynamic File Paths based Configuration Values using a Path Handler from a PHP File System Library
Updated on: 2023-02-11
Posted on: 2023-02-11
Blog: Yii2 MultiFS package blog
Package: Yii2 MultiFS
For instance, PHP provides file system iterator classes that allow applications to traverse the files and directories contained in a given directory.
This package implements file system classes that file system iterator classes can access to traverse directories so that the full path is defined dynamically from application configuration values loaded using the Yii2 framework configuration access classes.
It also provides file upload handling support that uses these file system access classes to store the uploaded file contents in directories with paths that depend on the current application configuration.
This way, this application provides flexibility to application developers, so they do not have to hardcode the full application paths of the directories where important application files are stored.



1. How to Use a PHP Code Checker Tool to Find Complex Application Code that PHP Developers Can Simplify
Updated on: 2023-02-09
Posted on: 2023-02-09
Blog: PHP Smelly Code Detector package blog
Package: PHP Smelly Code Detector
Complexity can be evaluated in terms of hints like the code inside the functions, the number of function arguments, and the number of lines of code.
This package provides a tool written in PHP that can evaluate all those complex aspects.
This way, developers can have an idea of what code is too complex so they can improve the code to simplify it to lower the complexity grades that this tool provides.



1. How to Implement a PHP Marketplace App That Supports Resellers of Third-Party Products
Updated on: 2023-02-05
Posted on: 2023-02-05
Blog: Tagydes package blog
Package: Tagydes
Over time many sites evolve into marketplaces where they can sell products and services of third-party companies.
Some companies can be resellers of products and services produced by other companies.
This package provides an e-commerce site solution that supports resellers. This way, this package can help many companies to implement their marketplaces with the possibility to resell products and services of third-party companies.



1. How to Implement a Robust ZIP Code Radius Search PHP Script Using Multiple APIs
Updated on: 2023-02-04
Posted on: 2023-02-04
Blog: Laravel Brazilian CEPs package blog
Package: Laravel Brazilian CEPs
Usually, those sites use an external API to check if the zip code of a customer's address is correct for a given city location.
This package provides a solution for e-commerce sites with customers in Brazil using the Laravel framework.
It provides a way to check Brazilian CEP zip codes using at least one of many supported APIs. This way, it provides a redundant solution that may still work if one of the zip code API fails, as it can use another of the supported APIs that works.



1. How to Implement a PHP Font Style Chooser Menu to Let Your Application User Choose Fonts and Colors
Updated on: 2023-01-30
Posted on: 2023-01-30
Blog: PHP Font Chooser Menu package blog
Package: PHP Font Chooser Menu
User-friendly graphic applications allow users to choose the fonts that the application will use to display the text.
This package implements a font chooser user interface to let users choose fonts and background colors and see how the text will look.



1. How to Configure the Behavior of Class Object Using a PHP Options Array
Updated on: 2023-01-28
Posted on: 2023-01-28
Blog: Options Resolver package blog
Package: Options Resolver
One way to pass options values is to use arrays with the names and the importance of the options that will be changed.
This package simplifies processing options arrays passed to classes by extracting the values from collections or default values defined within the class.



1. How to Use a PHP Design Pattern Implementation to Automatically Update Slave Objects when Master Objects are Updated
Updated on: 2023-01-26
Posted on: 2023-01-26
Blog: yii2-arsync package blog
Package: yii2-arsync
Often applications that use the active record design pattern define hierarchies of class objects and establish relations between enslaver and enslaved person objects.
This package can help applications that use the active record design pattern implementation with the YII framework to automate the process of updating slave objects based on the changes in master objects.



9. Modern PHP CSRF Protection Example using a PHP Forms Library
Updated on: 2023-01-24
Posted on: 2023-01-23
Blog: PHP Forms Class with HTML Generator and JavaScript Validation package blog
Package: PHP Forms Class with HTML Generator and JavaScript Validation
Good Web sites are protected against CSRF security attacks. Attempts to perform these attacks are ignored.
As a responsible Web developer, it is in your best interest to learn how to prevent these attacks so your PHP Web projects can be more secure.
Please read this short article to learn more about CSRF attacks and a practical example of protection against CSRF attacks in your Web form pages generated and processed by PHP.



1. How to Send a Message on WhatsApp using the Official API in PHP
Updated on: 2023-01-19
Posted on: 2023-01-19
Blog: PHP WhatsApp API package blog
Package: PHP WhatsApp API
Several APIs allow developers to send messages to other WhatsApp users via WhatsApp.
This package uses the official API from the Meta Group to send messages to other WhatsApp users.



1. How to Add a PHP Icon Image Picker Tool to Your Applications to Let Users Choose Images and Colors to Customize Your Application
Updated on: 2023-01-16
Posted on: 2023-01-16
Blog: Yii2 PHP Icon Picker package blog
Package: Yii2 PHP Icon Picker
In some cases, the applications let the users pick icons shown in different parts of the application pages.
This package provides a solution that lets application developers add a widget to a form of application options that allows application users to pick icon images for any practical purpose of the application.


