GitHunt

GitHub tag (with filter)
Packagist
GitHub

Phetit Package Skeleton

This repository provides a skeleton to start your next PHP package.

Requires PHP 8.1+

Usage

Installation

๐Ÿ“ฆ Create a Composer project:

composer create-project phetit/package-skeleton --keep-vcs PackageName

If you want to get the last changes in the repository, add --stability=dev option.

After installation, follow the console instructions to set up your project.

Composer scripts

Once the project has been set up, you can use the following composer scripts.

๐ŸŽจ Run code style analysis using PHP_CodeSniffer:

composer test:lint

๐Ÿ› ๏ธ Run static analysis using PHPStan:

composer test:types

โœ… Run unit tests using PHPUnit:

composer test:unit

๐Ÿš€ Run the entire test suit

composer test

License

This project is licensed under the MIT license.

References

Languages

PHP100.0%

Contributors

MIT License
Created July 8, 2023
Updated September 19, 2023