michael-rubel / laravel-package-template
It is an example template for Laravel packages. Fill or change it the way you like.
Fund package maintenance!
paypal.com/donate/?hosted_button_id=KHLEL8PFS4AXJ
Requires
- php: ^8.0|^8.1
- spatie/laravel-package-tools: ^1.11
Requires (Dev)
- brianium/paratest: ^6.3
- mockery/mockery: ^1.4.4
- nunomaduro/collision: ^5.10|^6.0
- nunomaduro/larastan: ^1.0
- orchestra/testbench: ^6.6|^7.0
- phpunit/phpunit: ^9.5
- roave/backward-compatibility-check: ^6.4|^7.0
- squizlabs/php_codesniffer: ^3.6
README
It's a ready-to-use template for Laravel packages.
What's inside
- Skeleton with Service Provider and configuration file
Laravel Package Tools
by Spatie for easier package configuration- Ready-to-use GitHub Action scripts for testing & code quality checks
Fulfill or change it the way you like.
The package requires PHP 8
or higher and Laravel 9
or higher.
#StandWithUkraine
Installation
Install the package using composer:
composer require michael-rubel/laravel-package-template
Usage
// Your description.
Publish the config:
php artisan vendor:publish --tag="package-template-config"
Testing
composer test
License
The MIT License (MIT). Please see License File for more information.