utils
utils copied to clipboard
🛠 Lightweight utilities for string & array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.
- bug fix #284 - BC break? yes Fix case: ```php $title = 'Title with - minus'; // old behavior echo Strings::webalize($title, '-'); // title-with---minus // new behavior echo Strings::webalize($title,...
- new feature? yes - BC break? no - doc PR: nette/docs# I can prepare if PR will be merged In Nette Utils I didn't find method which I could...
- bug fix - BC break? yes New files may be created by another process while the directory is being deleted. The deletion will then fail. The new implementation repeatedly...
- new feature - doc PR: will if accepted The `Future` class is a helper for "building data structures" which I use about 4 years. It is handy for small...
- new feature - BC break? no E-mail should be valid only in case of domain name use valid `MX` DNS record. Examples: ```php Validators::isEmail('[email protected]'); // true Validators::isEmail('[email protected]'); // true...
- new feature - BC break? no - doc PR: will Proposed `Arrays::updateDiff()` compares two associative arrays and returns such items from later one, which does not exist or differs...
- bug fix? no - new feature? yes - BC break? no - doc PR: not necessary I change protection of properties (Image::image and Image::format) from private to protected for...
- bug fix? no - new feature? yes - BC break? no - doc PR: maybe - if it will be merged This PR adds support for JSON_FORCE_OBJECT like flag...
- new feature? no - BC break? yes I am looking for way how move from mutable to immutable DateTime. From my point of view, mutable DateTime is something you...
- bug fix? no - new feature? yes - BC break? no - doc PR: will I'm using this abstract collection really often. Its purpose is to emulate typed array...