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  
  936 - 927   ...   756 - 747   746 - 737   736 - 727   726 - 717   716 - 707   706 - 697   696 - 687   686 - 677   676 - 667   666 - 657   656 - 647   646 - 637   ...   6 - 1  

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:

Blog: Yii2 MultiFS package blog
Package: Yii2 MultiFS

PHP is a flexible language in many aspects. One of these aspects is that it allows applications to provide classes that emulate several operations developers can execute when accessing files and directories.

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.


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

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:

Blog: PHP Smelly Code Detector package blog
Package: PHP Smelly Code Detector

One way to evaluate the quality of your PHP code is to evaluate its complexity. Complex code is hard to maintain.

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.


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

1. How to Implement a PHP Marketplace App That Supports Resellers of Third-Party Products

Updated on: 2023-02-05

Posted on:

Blog: Tagydes package blog
Package: Tagydes

Nowadays, many sites have an e-commerce section to sell products and services.

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.


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

1. How to Implement a Robust ZIP Code Radius Search PHP Script Using Multiple APIs

Updated on: 2023-02-04

Posted on:

Blog: Laravel Brazilian CEPs package blog
Package: Laravel Brazilian CEPs

Many e-commerce sites that sell physical products need to be able to check if the customer addresses are correct.

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.


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

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:

Blog: PHP Font Chooser Menu package blog
Package: PHP Font Chooser Menu

Some applications render graphics that include text. Text can be displayed using many different types of fonts.

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.


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

1. How to Configure the Behavior of Class Object Using a PHP Options Array

Updated on: 2023-01-28

Posted on:

Blog: Options Resolver package blog
Package: Options Resolver

Many classes need to be configured using options provided by the developers in the code that calls the classes' functions.

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.


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

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:

Blog: yii2-arsync package blog
Package: yii2-arsync

ActiveRecord is a popular software design pattern many applications and frameworks use to store and retrieve objects in relational tables.

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.


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

9. Modern PHP CSRF Protection Example using a PHP Forms Library

Updated on: 2023-01-24

Posted on:

Blog: PHP Forms Class with HTML Generator and JavaScript Validation package blog
Package: PHP Forms Class with HTML Generator and JavaScript Validation

Cross-Site Request Forgery (CSRF) attacks are means that badly intentioned users may use to make users of a site perform actions without intention. For instance, a successful CSRF attack can make e-commerce purchases, and the purchased goods are delivered to an attacker's location address.

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.


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

1. How to Send a Message on WhatsApp using the Official API in PHP

Updated on: 2023-01-19

Posted on:

Blog: PHP WhatsApp API package blog
Package: PHP WhatsApp API

Many people use WhatsApp daily to communicate with each other using their mobile phones or computers.

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.


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

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:

Blog: Yii2 PHP Icon Picker package blog
Package: Yii2 PHP Icon Picker

Many Web applications let the users configure certain aspects of how the applications appear to their users.

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.


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


  936 - 927   ...   756 - 747   746 - 737   736 - 727   726 - 717   716 - 707   706 - 697   696 - 687   686 - 677   676 - 667   666 - 657   656 - 647   646 - 637   ...   6 - 1  
  PHP Classes blog PHP Classes blog   Blog All package blogs