cable8mm/phpunit-start-kit

Phpunit Start Kit is the simple code for starting TDD

v2.1.0 2024-03-09 12:57 UTC

This package is auto-updated.

Last update: 2024-05-09 13:21:36 UTC


README

code-style run-tests Packagist Version Packagist Downloads Packagist Dependency Version Packagist Stars Packagist License

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 and phpunit.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.