PHP Classes

PHP Utility Classes: Manipulate and validate values of several types

Recommend this page to a friend!
  Info   View files View files (14)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog (1)    
Last Updated Ratings Unique User Downloads Download Rankings
2022-07-20 (1 month ago) RSS 2.0 feedNot yet rated by the usersTotal: 96 This week: 22All time: 9,692 This week: 4Up
Version License PHP version Categories
php-utility-class 1.0MIT/X Consortium ...5Algorithms, Data types, Validation, P...
Description Author

This package can manipulate and validate values of several types.

It provides several classes that can perform operations on different types of values.

Currently, it can:

- Create an array from a string value using several possible characters as separator strings

- Delete empty values from arrays

- Check if a string is of a valid file name

- Check if a string is a valid file name or page URL that PHP can access

- Determine if a string contains a valid number with a checksum digit calculated using the Luhn algorithm

- Check if a string contains a valid IP address

- Generate a random number with a specific number if digits

- Calculate the percentage value given the partial and total numbers

- Remove white space characters from Unicode strings

- Calculate the time of execution of the current script considering its start time and the current time

Innovation Award
PHP Programming Innovation award nominee
July 2022
Number 8
Measuring the time that a PHP script takes to execute allows for determining if a script is too slow and if its performance needs to be optimized.

When PHP is used to serve Web pages, the real execution time needs to be measured from when the Web server received the HTTP request.

This package provides a class that can calculate the current script's real execution time considering the HTTP request start time.

Manuel Lemos
Picture of Mateo
  Performance   Level  
Name: Mateo <contact>
Classes: 9 packages by
Country: Peru Peru
Innovation award
Innovation award
Nominee: 4x

  Files folder image Files  
File Role Description
Files folder imagesrc (7 files, 1 directory)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file readme.md Doc. Documentation

  Files folder image Files  /  src  
File Role Description
Files folder imageExceptions (5 files)
  Plain text file Arrays.php Class Class source
  Plain text file Files.php Class Class source
  Plain text file Luhn.php Class Class source
  Plain text file Network.php Class Class source
  Plain text file Numbers.php Class Class source
  Plain text file Strings.php Class Class source
  Plain text file Time.php Class Class source

  Files folder image Files  /  src  /  Exceptions  
File Role Description
  Plain text file DbException.php Class Class source
  Plain text file ExceptionInterface.php Class Class source
  Plain text file FileException.php Class Class source
  Plain text file KeyArrayException.php Class Class source
  Plain text file RequestException.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:96
This week:22
All time:9,692
This week:4Up
For more information send a message to info at phpclasses dot org.