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
Requires
- php: >=8.1
- ext-fileinfo: *
- ext-imagick: *
- ext-intl: *
- ext-openssl: *
- azuyalabs/yasumi: ^2.8
- imagine/imagine: ^1.5
- symfony/filesystem: ^6.4
- symfony/http-foundation: ^6.4
- symfony/mime: ^6.4
- symfony/uid: ^6.4
Requires (Dev)
- ext-gd: *
- phpunit/phpunit: ^10.5
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.