Lightweight utilities for string & array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.
Lightweight utilities for string & array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.
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/utilsNette Utils 4.1 is compatible with PHP 8.2 to 8.5.
Do you like Nette Utils? Are you looking forward to the new features? Thank you!
No open issues yet, or sync has not completed.