These are some classes that aim to facilitate PHP developments and use less procedural functions.
$ composer require redlab-team/php-helpers
You can just download the archive and unzip it into your own project.
This package is released under the MIT License. See the LICENSE file for more details.
All the classes need to be instanciated. But it is possible to extends them if you need to add some attribute
for you developments.
The helpers that are available are :
- Arr class to manipulate arrays variables
- Date class to manipulate dates variables
- Json class to encode and decode JSON format.
- Str class to manipulate strings.