Laraship

⌘K
  1. Home
  2. Docs
  3. Laraship
  4. Update Laraship
  5. Module Manager Command Line

Module Manager Command Line

The module Manager command line has been introduced on Setting Plugin 2.0, it’s an easy way to update your Laraship without the need to go to every single module and update it.

# php artisan corals:modules --help
Usage:
corals:modules [options]

Options:
--action[=ACTION] available options (update,enable,disable,install,uninstall,download)
--type[=TYPE] available options (core|module|payment|theme)
--module_name[=MODULE_NAME] theme or plugin name, pass all for all
--skip_download[=SKIP_DOWNLOAD] just execute update patches
--force[=FORCE] force execute updates even if update server returns no updates
--module_license[=MODULE_LICENSE] module license, this is applicable on download action
-h, --help Display this help message
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi Force ANSI output
--no-ansi Disable ANSI output
-n, --no-interaction Do not ask any interactive question
--env[=ENV] The environment the command should run under
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Help:
Corals Module Manager

 

  •  Its highly recommend to backup your application files and database before updating modules.
  • update flow should be: core ==> module ==> payment ==> theme.
  • if you used the offline package and copied the Corals module then use the option –skip_download=true to skip downloading the package from the updater.
  • after upload, command execution executes the command:
    composer update

    to install the required dependencies.

example commands

composer update
php artisan cache:clear
php artisan corals:modules --action=download --type=module --module_name=corals-utility
php artisan corals:modules --action=install --type=module --module_name=corals-utility
php artisan corals:modules --action=update --type=core --module_name=all --force=true
php artisan corals:modules --action=update --type=module --module_name=all --force=true
php artisan corals:modules --action=update --type=payment--module_name=all --force=true
php artisan corals:modules --action=update --type=theme --module_name=all --force=true

 

 

Shopping cart
Sidebar

BLACK FRIDAY

70% DISCOUNT ON OUR ENTIRE PLATFORMS
GO TO STORE
LIMITED TIME OFFER
close-link