Skip to content

Plugin

WARNING

Dev tools are removed in the download package, you need to delete folder /vendor and run command composer install to reinstall it, then you can use dev commands.

Commands

Create a plugin

- Open CMD or Terminal then run:

bash
php artisan cms:plugin:create <plugin name>

Activate a plugin

- Open CMD or Terminal then run:

bash
php artisan cms:plugin:activate <plugin name>

Deactivate a plugin

- Open CMD or Terminal then run:

bash
php artisan cms:plugin:deactivate <plugin name>

Remove a plugin

- Command:

bash
php artisan cms:plugin:remove demo

INFO

demo is a plugin.

When you run this command. It will do:

  • Deactivate demo plugin.

  • It will be remove demo table and its permissions

  • Delete folder demo in /plugins and delete /plugins directory if it's empty

Video tutorials