Search by

nette / utils

david@grudl.com

🛠 Nette Utils: small, well-tested helpers you would otherwise write yourself. Strings and arrays with UTF-8 in mind, safe JSON, images, validators, the file system and more.

Package info

github.com/nette/utils

Homepage

pkg:composer/nette/utils

Statistics

Installs: 496 518 384

Dependents: 1 648

Suggesters: 10

Stars: 2 146

Open Issues: 13

v4.1.6 2026-10-20 17:07 UTC

README

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
✅ 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.1 is compatible with PHP 8.2 to 8.6.

 

Support Me

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

Buy me a coffee

Thank you!