sam016 / php-textwrap
PHP TextWrap library inspired by python's argparse
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Language:Python
Requires
- php: ^7.2
Requires (Dev)
- phpunit/phpunit: ^8.3
This package is auto-updated.
Last update: 2024-04-06 15:38:47 UTC
README
Introduction
php-textwrap is the library inspired by Python's textwrap
Requirements
Only requirement:
php >= 7.2
Installation
composer require sam016/php-textwrap
Development
Setup
-
Build the docker container
docker-compose build
-
Start the docker container
docker-compose up
Docker shell
Use the following command to execute inside the docker container
docker exec -it $(docker ps -aqf 'name=textwrap') bash
Tests
Use the following command inside the container to run the test cases
composer test
Use the following command from host machine to run the test cases
docker exec -it $(docker ps -aqf 'name=textwrap') composer test
Issues
Guidelines for raising the bugs:
- Please check the existing issues in the Issues section before creating a new one.
- State
- reproduction steps
- library version
- php version
- crystal clear description about issue
- did it just get too much?