Skip to content
This repository has been archived by the owner on Aug 13, 2020. It is now read-only.

Latest commit

 

History

History
31 lines (20 loc) · 474 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 474 Bytes

helper

PHP常用方法

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist colee/helpers "*"

or add

"colee/helpers": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

<?= \colee\helpers\Format::substr($str, $length); ?>```