redlab-team/php-helpers

Some helpers for PHP developments

v2.0 2020-03-20 18:25 UTC

This package is auto-updated.

Last update: 2024-11-21 07:06:56 UTC


README

These are some classes that aim to facilitate PHP developments and use less procedural functions.

Latest Stable Version Minimum PHP Version Latest Stable Version Total Downloads

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.