In package nette/utils you will find a set of useful classes for everyday use:
âś… Arrays
âś… Callback - PHP callbacks
âś… Cast - Safe lossless type casting
✅ 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!