redlab-team / php-helpers
Some helpers for PHP developments
v2.0
2020-03-20 18:25 UTC
Requires
- php: ^7.3
- ext-json: *
Requires (Dev)
- phpunit/phpunit: ^9
README
These are some classes that aim to facilitate PHP developments and use less procedural functions.
Installation
With composer :
$ composer require redlab-team/php-helpers
Without composer :
You can just download the archive and unzip it into your own project.
License
This package is released under the MIT License. See the LICENSE file for more details.
Usage
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.