🛠 Nette Utils: lightweight utilities for string & array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.


Keywords
json, paginator, validation, array, utility, password, nette, images, slugify, utf-8, string, core, unicode, datetime, array-manipulations, component, nette-framework, pagination, php, tools, trait, utilities
Licenses
BSD-3-Clause/GPL-2.0-only/GPL-3.0-only

Documentation

Nette Utils

Downloads this Month Tests Coverage Status Latest Stable Version License

Introduction

In package nette/utils you will find a set of useful classes for everyday use:

Arrays
Callback - PHP callbacks
Cast - Safe lossless type casting
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.

 

Do you like Nette Utils? Are you looking forward to the new features?

Buy me a coffee

Thank you!