taobig / php-helper
A tool set for PHP projects
v2.0.27
2024-08-10 15:32 UTC
Requires
- php: ^7.4 || ^8.0
- php-64bit: ^7.4 || ^8.0
- ext-bcmath: *
- ext-ctype: *
- ext-json: *
- ext-mbstring: *
- guzzlehttp/guzzle: ^7.0
- symfony/polyfill-php80: ^1.22
- symfony/polyfill-php81: ^1.23
- symfony/polyfill-php83: ^1.30
Requires (Dev)
- aliyuncs/oss-sdk-php: ~2.0
- php-coveralls/php-coveralls: ^2.2
- phpunit/phpunit: ^9.0
- vimeo/psalm: ^4.4
This package is auto-updated.
Last update: 2026-06-10 19:28:23 UTC
README
A tool set for PHP projects
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