Created
October 30, 2021 13:25
-
-
Save artistro08/d04c8b197702397ec50a91af58eb3fd1 to your computer and use it in GitHub Desktop.
Plugin Management from the Deploy Console in RainLab.Deploy on OctoberCMS
This file contains hidden or 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