mohatt/package-skeleton-php

A skeleton repository for PHP packages.

1.0.0 2021-06-05 04:24 UTC

This package is auto-updated.

Last update: 2024-04-15 09:34:00 UTC


README

Latest Version Build Status Coverage Status PHP Version License Total Downloads

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.

License

MIT