My PHP functions and several utility methods of different types combined with the nette/utils library. Some methods have been archived and are no longer used since the usage of nette/utils.
- PHP 5.6+ (v1) or 7.4 (v2), or 8.2 (v2.5+)
Edit your composer.json (launch composer update
after edit):
{
"repositories": [
{ "type": "git", "url": "[email protected]:jgauthi/component_utils.git" }
],
"require": {
"jgauthi/component_utils": "2.*"
}
}
You can look at folder example.
Documentation links for nette/utils (used by this utils pack):
- Arrays, must be used with
Jgauthi\Component\Utils\Arrays
- Callback
- Date and Time, must be used with
Jgauthi\Component\Utils\Date
- Filesystem
- Helper Functions
- HTML Elements, must be used with
Jgauthi\Component\Utils\Html
- Images, must be used with
Jgauthi\Component\Utils\Image
JSONuse instead:Jgauthi\Component\Utils\Json
- Paginator
- Random Strings
- SmartObject
- PHP Reflection
- Strings, must be used with
Jgauthi\Component\Utils\Strings
- Floats
- PHP Types
- Validators