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.

Create a plugin

- Open CMD or Terminal then run:

php artisan cms:plugin:create <plugin name>

Activate a plugin

- Open CMD or Terminal then run:

php artisan cms:plugin:activate <plugin name>

Deactivate a plugin

- Open CMD or Terminal then run:

php artisan cms:plugin:deactivate <plugin name>

Remove a plugin

- Command:

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