nette / utils
🛠Nette Utils: lightweight utilities for string & array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.
Installs: 27 029 829
Dependents: 1 344
Suggesters: 7
Security: 0
Stars: 1 152
Watchers: 58
Forks: 120
Open Issues: 13
Requires
- php: >=7.2 <8.1
Requires (Dev)
- nette/tester: ~2.0
- phpstan/phpstan: ^0.12
- tracy/tracy: ^2.3
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()
- ext-xml: to use Strings::length() etc. when mbstring is not available
Conflicts
- nette/di: <3.0.6
- dev-master / 4.0.x-dev
- v3.2.x-dev
- v3.2.2
- v3.2.1
- v3.2.0
- v3.1.x-dev
- v3.1.4
- v3.1.3
- v3.1.2
- v3.1.1
- v3.1.0
- v3.0.x-dev
- v3.0.4
- v3.0.3
- v3.0.2
- v3.0.1
- v3.0.0
- v2.5.x-dev
- v2.5.7
- v2.5.6
- v2.5.5
- v2.5.4
- v2.5.3
- v2.5.2
- v2.5.1
- v2.5.0
- v2.4.x-dev
- v2.4.10
- v2.4.9
- v2.4.8
- v2.4.7
- v2.4.6
- v2.4.5
- v2.4.4
- v2.4.3
- v2.4.2
- v2.4.1
- v2.4.0
- v2.3.x-dev
- v2.3.11
- v2.3.10
- v2.3.9
- v2.3.8
- v2.3.7
- v2.3.6
- v2.3.5
- v2.3.4
- v2.3.3
- v2.3.2
- v2.3.1
- v2.3.0
- v2.2.x-dev
- v2.2.8
- v2.2.7
- v2.2.6
- v2.2.5
- v2.2.4
- v2.2.3
- v2.2.2
- v2.2.1
- v2.2.0
This package is auto-updated.
Last update: 2021-03-11 20:56:08 UTC
README
Introduction
In package nette/utils you will find a set of useful classes for everyday use:
- Arrays - manipulate arrays
- Callback - PHP callbacks
- Date and Time - modify times and dates
- Filesystem - copying, renaming, …
- Helper Functions
- HTML elements - generate HTML
- Images - crop, resize, rotate images
- JSON - encoding and decoding
- Generating Random Strings
- Paginator - pagination math
- PHP Reflection
- Strings - useful text functions
- SmartObject - PHP object enhancements
- 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
- Nette Utils 3.2 is compatible with PHP 7.2 to 8.0
- Nette Utils 3.1 is compatible with PHP 7.1 to 8.0
- Nette Utils 3.0 is compatible with PHP 7.1 to 8.0
- Nette Utils 2.5 is compatible with PHP 5.6 to 8.0
Support Me
Do you like Nette Utils? Are you looking forward to the new features?
Thank you!