painless-php / string
String helper functionality for PHP
dev-master
2024-04-19 14:50 UTC
Requires
- php: >=8.1
- ext-mbstring: *
Requires (Dev)
- phpbench/phpbench: ^1.2
- phpunit/phpunit: ^10.1
- spatie/phpunit-watcher: ^1.22
- vlucas/phpdotenv: ^v5.5.0
This package is auto-updated.
Last update: 2024-04-19 14:50:50 UTC
README
String helper functionality for PHP
Installation
composer require painless-php/string
Public API
Core
Exception
- PainlessPHP\String\Exception\StringSearchException
- PainlessPHP\String\Exception\StringTypeConversionException
TODO
-
findFirstLineContaining
-
findLinesContaining
-
findLastLineContaining
-
trimLines
-
editLines
-
update required php version (can check with package-boilerplate-core eventually)
-
method overview (as markdown table? in readme) / update docs
-
generate ide helper for StrBuilder so that magic methods are exposed to IDE