Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Plugin Management from the Deploy Console in RainLab.Deploy on OctoberCMS
<?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