nette / utils
🛠Nette Utils: lightweight utilities for string & array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.
Installs: 121 082 760
Dependents: 1 495
Suggesters: 8
Security: 0
Stars: 1 719
Watchers: 55
Forks: 136
Open Issues: 16
Requires
- php: >=8.0 <8.3
Requires (Dev)
- jetbrains/phpstorm-attributes: dev-master
- nette/tester: ^2.4
- 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()
- ext-xml: to use Strings::length() etc. when mbstring is not available
Conflicts
- nette/finder: <3
- nette/schema: <1.2.2
- dev-master / 4.0.x-dev
- v4.0.0
- v3.2.x-dev
- v3.2.9
- v3.2.8
- v3.2.7
- v3.2.6
- v3.2.5
- v3.2.3
- v3.2.2
- v3.2.1
- v3.2.0
- v3.1.x-dev
- v3.1.6
- 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: 2023-05-13 08:26:27 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, …
- Finder - finds files and directories
- 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
- Type - PHP data type
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.2
- Nette Utils 3.2 is compatible with PHP 7.2 to 8.2
- 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!