/php-helper

A tool set for PHP projects

Primary LanguagePHPMIT LicenseMIT

php-helper

A tool set for PHP projects

Latest Stable Version Latest Unstable Version Total Downloads License Build Status Coverage Status

INSTALLATION

Install via Composer

composer require taobig/php-helper

Versions

Major Version PHP Compatibility Initial Release Active Support Security Support
1.x PHP 7.0 - PHP 7.4 2018-09-25
2.x >= PHP 7.4 2020-01-11

Static analysis

The code is statically analyzed with Psalm. To run static analysis:

./vendor/bin/psalm

Usage


use taobig\helpers\StringHelper;
StringHelper::startsWith("hello world", "hello ");//true
...

Test-case: https://github.com/taobig/php-helper/tree/master/tests/helpers