PHP常用方法
PHP常用方法, (*1)
The preferred way to install this extension is through composer., (*2)
Either run, (*3)
php composer.phar require --prefer-dist colee/helpers "*"
or add, (*4)
"colee/helpers": "*"
to the require section of your composer.json
file., (*5)
Once the extension is installed, simply use it in your code by :, (*6)
php
<?= \colee\helpers\Format::substr($str, $length); ?>
, (*7)