cse/helpers

CSE HELPERS is a collection of several libraries for the rapid development of web applications.

1.0.1 2019-04-29 04:20 UTC

This package is auto-updated.

Last update: 2024-11-29 05:39:13 UTC


README

English | Русский

CSE HELPERS

Travis (.org)

Packagist Minimum PHP Version Packagist GitHub repo size

CSE HELPERS is a collection of several libraries for the rapid development of web applications.

Project repository: https://github.com/cs-eliseev/helpers

Introduction

Despite using PHP as the main programming language for the Internet, its functions are not enough.

CSE HELPERS is a collection of several libraries with simple functions written in PHP for the rapid development of web applications.

CSE Helpers project:

Install

You can find the most recent version of this project here.

Composer

Execute the following command to get the latest version of the package:

composer require cse/helpers

Or file composer.json should include the following contents:

{
    "require": {
        "cse/helpers": "*"
    }
}

Git

Clone this repository locally:

git clone https://github.com/cs-eliseev/helpers.git

Download

Download the latest release here.

Usage

The all classes consists of static methods that are conveniently used in any project.

Examples of using classes can be found in the documentation for each project:

  • Arrays - extended work with arrays

Travis (.org) Codecov Scrutinizer code quality

  • Cookie - easy cookie management

Travis (.org) Codecov Scrutinizer code quality

  • Date - easy date conversion

Travis (.org) Codecov Scrutinizer code quality

  • Emai - extended work with email addresses

Travis (.org) Codecov Scrutinizer code quality

  • IP - extended work with IP (IPv4 & IPv6) addresses

Travis (.org) Codecov Scrutinizer code quality

  • Json - easy management of JSON data

Travis (.org) Codecov Scrutinizer code quality

Travis (.org) Codecov Scrutinizer code quality

  • Phone - extended work with phone number

Travis (.org) Codecov Scrutinizer code quality

  • Request - easy request management

Travis (.org) Codecov Scrutinizer code quality

  • Session - easy session management

Travis (.org) Codecov Scrutinizer code quality

  • Word - convenient text data conversion

Travis (.org) Codecov Scrutinizer code quality

Testing & Code Coverage

PHPUnit is used for unit testing. Unit tests ensure that class and methods does exactly what it is meant to do.

General PHPUnit documentation can be found at https://phpunit.de/documentation.html.

To run the PHPUnit unit tests, execute:

phpunit PATH/TO/PROJECT/helpers

License

The CSE HELPERS is open-sourced software licensed under the MIT license. Please see License File for more information.

GitHub @cs-eliseev