Tuesday, October 13, 2020

How to create a Laravel Package

 https://devdojo.com/devdojo/how-to-create-a-laravel-package


https://medium.com/cafe24-ph-blog/build-your-own-laravel-package-in-10-minutes-using-composer-867e8ef875dd

Laravel service provider boot() vs register()

 As you can see in our new Service Provider class we have 2 methods boot() and register(). The boot() method is used to boot any routes, event listeners, or any other functionality you want to add to your package. The register() method is used to bind any classes or functionality into the app container