In package nette/utils you will find a set of useful classes for everyday use:
β
Arrays
β
Callback - PHP callbacks
β
Filesystem - copying, renaming, β¦
β
Finder - finds files and directories
β
Floats - floating point numbers
β
Helper Functions
β
HTML elements - generate HTML
β
Images - crop, resize, rotate images
β
Iterables
β
JSON - encoding and decoding
β
Generating Random Strings
β
Paginator - pagination math
β
PHP Reflection
β
Strings - useful text functions
β
SmartObject - PHP object enhancements
β
Type - PHP data type
β
Validation - validate inputs
Β
The recommended way to install is via Composer:
composer require nette/utils
Nette Utils 4.0 is compatible with PHP 8.0 to 8.4.
Β
Do you like Nette Utils? Are you looking forward to the new features?
Thank you!