talentrydev / utils
🛠Nette Utils: lightweight utilities for string & array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.
Requires
- php: 8.0 - 8.4
Requires (Dev)
- jetbrains/phpstorm-attributes: dev-master
- nette/tester: ^2.5
- phpstan/phpstan: ^1.0
- tracy/tracy: ^2.9
Suggests
- ext-gd: to use Image
- ext-iconv: to use Strings::webalize(), toAscii(), chr() and reverse()
- ext-intl: to use Strings::webalize(), toAscii(), normalize() and compare()
- ext-json: to use Nette\Utils\Json
- ext-mbstring: to use Strings::lower() etc...
- ext-tokenizer: to use Nette\Utils\Reflection::getUseStatements()
Conflicts
- nette/finder: <3
- nette/schema: <1.2.2
This package is auto-updated.
Last update: 2026-06-06 18:56:18 UTC
README
Introduction
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
Â
Installation
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.
Â
Support Me
Do you like Nette Utils? Are you looking forward to the new features?
Thank you!