xcy7e/php-toolbox

PHP toolbox library, containing useful everyday utilities.

Installs: 1

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/xcy7e/php-toolbox

1.3.2 2025-10-03 10:15 UTC

This package is auto-updated.

Last update: 2025-10-03 10:19:04 UTC


README

PHP toolbox library, containing useful everyday utilities (e.g., hashing-, encoding-, date-time-functions). Utilizing symfony components.

Tools

  • ArrayTool
  • Base64Tool
  • ConversionTool
  • CryptoTool
  • DateTimeTool
  • ImageTool
  • MaskingTool
  • MimeTool
  • PathTool
  • ReflectionTool
  • SecurityTool

Installation

Using composer: (recommended)

composer require xcy7e/php-toolbox

Using git:

git clone https://github.com/xcy7e/php-toolbox.git

Usage

// with use-directive
use Xcy7e\PhpToolbox\Library\ConversionTool;

// all functions can be used statically
echo "8M equals so many bytes: " . ConversionTool::parseShorthandToBytes('8M');
// without use-directive
$encrypted = \Xcy7e\PhpToolbox\Library\CryptoTool::encrypt('sensitiveData', 'myPassword');
© 2025 by Jonathan Riedmair
Licensed under GNU General Public License v3
You are free to use this code for personal and commercial purposes, change it to your needs and share it as you like.
Reference to the author is not required.

Icon by muh zakaria.