mtvbrianking / laravel-package-boilerplate by bmatovu

Laravel package boilerplate.
25
2
2
Package Data
Maintainer Username: bmatovu
Maintainer Contact: mtvbrianking@gmail.com (Brian Matovu)
Package Create Date: 2019-12-28
Package Last Update: 2021-01-30
Language: PHP
License: MIT
Last Refreshed: 2024-03-27 03:25:15
Package Statistics
Total Downloads: 25
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 2
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

Laravel Package Boilerplate.

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