Skip to content
/ phpunit-start-kit Public template

PHPUNIT Start Kit is the simple code for starting TDD

License

Notifications You must be signed in to change notification settings

cable8mm/phpunit-start-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.