g1a/hubph

Template project for PHP libraries.


README

Hubph (pronounced "huff") is an experimental PHP implementation of Hub.

Travis CI Windows CI Scrutinizer Code Quality Coverage Status License

Getting Started

To try out hubph, download the phar from the releases section of the GitHub project.

This is just a prototype project, so documentation is sparse, and the commands and their options may change at any time.

This project does not necessarily do everything that Hub does, but it might also do some extra things that Hub does not do. The definition and scope of this project is still being explored.

Local Development

Clone this project and then run:

composer install

If you wish to build the phar for this project, install the box phar builder via:

composer phar:install-tools

Running the tests

The test suite may be run locally by way of some simple composer scripts:

Test Command
Run all tests composer test
PHPUnit tests composer unit
PHP linter composer lint
Code style composer cs
Fix style errors composer cbf

Deployment

  • Edit the VERSION file to contain the version to release, and commit the change.
  • Run composer release

Contributing

Please read CONTRIBUTING.md for details on the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the releases page.

License

This project is licensed under the MIT License - see the LICENSE file for details