pelgow / oss-inazuma
1.1.2
2023-07-07 07:30 UTC
Requires
- php: >=8.0
- symfony/css-selector: ^5.0 || ^6.3
- symfony/dom-crawler: ^5.0 || ^6.3
Requires (Dev)
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^9.6||^10.2
README
Installation
To initialize your project and install everything you need in your directory, run the following commands:
Initialize the project:
composer init
Install PHPStan for development:
composer require --dev phpstan/phpstan
Install Symfony HTTP Client:
composer require symfony/http-client
Install Symfony DomCrawler:
composer require symfony/dom-crawler
Install Symfony CSS Selector:
composer require symfony/css-selector
Install PHPUnit for development:
composer require --dev phpunit/phpunit
To launch your application, run the following command:
php build/index.php
To run the tests, use the following command:
composer NomDuTest
Note: Replace "NomDuTest" with the actual name of the test you want to run.
Local Development
composer install
php vendor/bin/phpstan analyze src --level=max
php vendor/bin/phpunit tests