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!