š 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/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!