A basic laravel package to start a new package.
Simply type composer create-project ipunkt/laravel-package YOUR-PACKAGE-NAME
and hit enter.
After installation you have to customize your generated plugin code.
Check all the given providers if you need them and the files. Remove all unnecessary ones.
Update this documentation to have your plugin documented like a hero.
Remove all above the line and update the text below the line.
composer require ipunkt/laravel-package
We support package auto-discovery for laravel, so you are ready to use the package.
Add to your composer.json following lines
"require": {
"ipunkt/laravel-package": "*"
}
You can publish all provided files by typing php artisan vendor:publish
and select to package provider (or one of the provided tags - but be careful, tags are global).
Here are the configuration options:
You can use the package like so...