bmatovu / laravel-query-decorator
Laravel query decorator.
v0.0.2
2020-01-05 10:22 UTC
Requires
- php: >=7.2
- illuminate/database: ^6.0
- illuminate/http: ^6.0
- illuminate/pagination: ^6.0
- illuminate/support: ^6.0
- justinrainbow/json-schema: 5.2.9
Requires (Dev)
- orchestra/testbench: ^4.0
This package is auto-updated.
Last update: 2024-10-25 04:36:23 UTC
README
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