PHP code example of ostark / craft-plugin-commands
1. Go to this page and download the library: Download ostark/craft-plugin-commands library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
ostark / craft-plugin-commands example snippets
php craft plugin/install ALL
php craft plugin/install {plugin-handle}
php craft plugin/uninstall ALL
php craft plugin/uninstall {plugin-handle}
php craft plugin/disable ALL
php craft plugin/disable {plugin-handle}
php craft plugin/enable ALL
php craft plugin/enable {plugin-handle}