Major refactoring cleanup: - Add new controller architecture (class-controller-*.php) - Add new settings-v2 UI (views/settings-v2/) - Add new CSS architecture (agentic-sidebar.css, tokens) - Add esbuild build pipeline (scripts/build.js, package.json) - Add composer dependencies (vendor/) - Add frontend src directory (assets/js/src/index.jsx) - Add documentation files - Remove old/obsolete files (class-settings.php, old CSS) This commits all pending changes from previous refactoring efforts.
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.5.
Support Me
Do you like Nette Utils? Are you looking forward to the new features?
Thank you!