cable8mm / phpunit-start-kit
Phpunit Start Kit is the simple code for starting TDD
v2.1.0
2024-03-09 12:57 UTC
Requires
- php: ^8.0
Requires (Dev)
- laravel/pint: ^1.0
- phpunit/phpunit: ^9.0|^10.0|^11.0
README
This serves as a template for creating a new library.
Features
- Built-in PHPUnit and lint libraries
- Pre-configured GitHub Actions
- Pre-configured
composer.json
andphpunit.xml
files as part of the skeleton - Built-in CHANGELOG.md file and automatic commit action
- Built-in MIT License document
Install
composer require cable8mm/phpunit-start-kit
Usage
composer create-project cable8mm/phpunit-start-kit <package_name>
You can customize src/StartKit.php
and tests/StartKitTest.php
, and modify composer.json
to tailor it to your package name and author information.
Formatting
composer lint
Test
composer test
License
The Phpunit Start Kit is open-sourced software licensed under the MIT license.