mohatt / package-skeleton-php
A skeleton repository for PHP packages.
1.0.0
2021-06-05 04:24 UTC
Requires
- php: ^8.0
Requires (Dev)
- mheap/phpunit-github-actions-printer: ^1.5
- mockery/mockery: ^1.4
- phpunit/phpunit: ^9.5
This package is auto-updated.
Last update: 2025-02-15 11:05:59 UTC
README
This repository can be used to scaffold a composer package. Click the "Use template" button at the top of this repo to create a new repo with the contents of this skeleton. Have fun creating your package!
This is where your description should go. Try and limit it to a paragraph or two.
Installation
The preferred method of installation is via Composer. Run the following
command to install the package and add it as a requirement to your project's
composer.json
:
composer require mohatt/package-skeleton-php
Usage
$skeleton = new Mohatt\Skeleton\Hello(); echo $skeleton->getHello();
Composer scripts
# Lint PHP source without making any changes composer lint # Lint and fix code style issues composer lint:fix # Run tests composer test # Run tests with coverage composer test:coverage
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Contributions are welcome! Please read CONTRIBUTING for details.