Creating an Addon


Creating an addon is the same for all addon types. Simply run the make:addon command and specify your addon's dot-namespace:

php artisan make:addon
Remember: Use your own vendor slug instead of anomaly!

The above command will generate an empty addon in the application's addon directory:


Shared Addons

You can add the --shared flag to the command to generate a shared addon:

php artisan make:addon --shared

The above command will generate the addon in the shared directory:


Developing Features

After creating an addon the rest of development really depends on the type of addon you are creating.