GitHunt
CA

cable8mm/phpunit-start-kit

PHPUNIT Start Kit is the simple code for starting TDD

PHPUNIT Start Kit

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.

Contributors

MIT License
Created July 24, 2019
Updated March 11, 2024