bmatovu / laravel-package-boilerplate
Laravel package boilerplate.
Installs: 29
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 0
Forks: 0
Open Issues: 0
Type:project
pkg:composer/bmatovu/laravel-package-boilerplate
Requires
- php: >=7.0.0
- illuminate/support: ^5.5|^6.0|^7.0
Requires (Dev)
- illuminate/container: ^5.5|^6.0|^7.0
- orchestra/testbench: ^3.5|^4.0|^5.0
- phpunit/phpunit: ^6.0|^7.0|^8.0|^9.0
This package is auto-updated.
Last update: 2025-10-29 03:03:26 UTC
README
Installation
Install via composer package manager:
composer create-project --prefer-dist bmatovu/laravel-package-boilerplate hello-world
Alternatively, generate a Github repository using the Use this template call to action button or the link below...
https://github.com/mtvbrianking/laravel-package-boilerplate/generate
Own the package
Update the composer.json file to match your credentials.
Change the namespaces to match those you're using in src.
Change the type from project to library
composer dump-autoload
Testing
We've defaulted to Orchestra's testbench
composer test
Code Style & Quality
We've added StyleCI configurations with the Laravel present to get you started.
Also added ScrutinizerCI configurations for code quality, test coverage inspection.
Locally, you can restort to PHP-CS-Fixer.
composer cs-fix
Source code documentation
You need to download Doctum for source code documentation.
composer doc
To auto deploy documentation; be sure to add a Github token for authorization.
Sharing the package
You may share your package via Packagist