Plugin Management from the Deploy Console in RainLab.Deploy on OctoberCMS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Install A plugin from the Rainlab Deploy Console | |
Artisan::call('plugin:install', ['name' => 'Acme.BlogPost', '--force' => true]); | |
echo Artisan::output(); | |
// Remove A plugin from the Rainlab Deploy Console | |
Artisan::call('plugin:remove', ['name' => 'Acme.BlogPost', '--force' => true]); | |
echo Artisan::output(); | |
// Refresh A plugin from the Rainlab Deploy Console | |
Artisan::call('plugin:refresh', ['name' => 'Acme.BlogPost', '--force' => true]); | |
echo Artisan::output(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment