Skip to content

Self Update Command

The mm:self-update command is used to update the Module Manager package itself to the latest version.

Usage

bash
php artisan mm:self-update

Description

This command updates the Module Manager package to the latest version available. It's a convenient way to ensure you're always using the most recent features and fixes.

When executed, this command performs the following action:

  1. Update Module Manager: Runs composer update e2tmk/module-manager to update the package to its latest version.

Example

bash
$ php artisan mm:self-update
Updating module manager...
Loading composer repositories with package information
Updating dependencies
Lock file operations: 0 installs, 1 update, 0 removals
  - Upgrading e2tmk/module-manager (1.2.0 => 1.3.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 1 update, 0 removals
  - Upgrading e2tmk/module-manager (1.2.0 => 1.3.0)
Generating optimized autoload files

Notes

  • This command uses Composer to perform the update.
  • It's recommended to run this command periodically to keep the Module Manager up to date.
  • After updating, you may need to clear the application cache with php artisan cache:clear.