r1n0x / string-language
1.0.3
2025-09-29 19:03 UTC
Requires
- php: >=8.1
- doctrine/lexer: ^3.0
- jms/serializer: ^3.31
README
About
This library provides a simple string language which in the end returns only a string, thus why "String Language" name - it exists purely because concatenating strings with other similar libraries seemed overkill and not easy to read.
Documentation
For documentation visit documentation page.
Running tests (PHPUnit)
Library provides a docker container for reproducible test environment.
docker run --rm --volume .:/source --workdir /source --tty r1n0x/string-language-container:1.0.1 composer run-script phpunit
Running tests creates an coverege_report folder which contains HTML coverage report - to view it simply open it in your browser.
Running types validator (PHPStan)
Library provides a docker container for reproducible PHPStan environment.
docker run --rm --volume .:/source --workdir /source --tty r1n0x/string-language-container:1.0.1 composer run-script phpstan
Running code style validator (CS-Fixer)
Library provides a docker container for reproducible CS-Fixer environment.
docker run --rm --volume .:/source --workdir /source --tty r1n0x/string-language-container:1.0.1 composer run-script csfixer