bmatovu/laravel-query-decorator

v0.0.2 2020-01-05 10:22 UTC

This package is auto-updated.

Last update: 2024-10-25 04:36:23 UTC


README

Build Status Scrutinizer Code Quality Code Coverage StyleCI Documentation

Installation

Install via Composer package manager:

composer create-project --prefer-source --remove-vcs bmatovu/laravel-package-boilerplate hello-world

Step #1: Own the package

Update the composer.json file to match your credentials.

Update the namespaces to match those you've set via composer.

composer dump-autoload

Step #2: Documentation

You need to download sami for document generation.

To auto deploy documentation; be sure to add a Github token for authorization.

curl -O http://get.sensiolabs.org/sami.phar

Step #3: Code Style & Quality

We've added Style CI configurations with the Laravel present to get you starter.

Also added Scrutinizer CI configurations for code quality, test coverage inspection.

Locally, you can restort to PHP-CS-Fixer.

php-cs-fixer fix

Step #4: Sharing the package

You may publish your package via Packagist

Testing

We've defaulted to Orchestra's testbench

Useful resource