Modules 101

Modules 101

How to download modules

We have provide installation guide in your admin panel to download each module. You can install modules by using composer command like:

composer require cvirando/{module name}

How to Enable modules

In order to enable modules all you need to do is to click enable button in modules page in your admin panel and you're all set.

How to Disable modules

In order to disable modules all you need to do is to click disable button in modules page in your admin panel and you're all set.

How to publish assets of modules

To publish assets of modules, after enabling them you can run following command.

Note: this command needs to be run only once, disabling or enabling modules will not affect published assets.

php artisan module:publish {module name}

How to migrate & seed modules

Each module comes with their own set of database tables and permissions, therefore you need to migrate those tables and permissions to your database.

To do so, you can run following commands:

php artisan module:migrate {module name}

php artisan module:seed {module name}

How to update modules

From time to time modules might get updates (you can check them from their repositories or by command line) to update each module, after replacing new update all you need to do is to run following command.

php artisan module:update {module name}

How to remove modules

To remove a module you can use following command.

composer remove cvirando/{module name}

Important you MUST disable module before removing it otherwise you might get error while loading your website.

Last updated