A tool set for PHP projects
Install via Composer
composer require taobig/php-helper
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 | ✅ | ✅ |
The code is statically analyzed with Psalm. To run static analysis:
./vendor/bin/psalm
use taobig\helpers\StringHelper;
StringHelper::startsWith("hello world", "hello ");//true
...
Test-case: https://github.com/taobig/php-helper/tree/master/tests/helpers