r1n0x / string-language
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/r1n0x/string-language
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