Skip to content
This documentation is in construction.

Manage Options

Options can be set or unset using Artisan commands or using the Administration.

To view all registered options, run the command:

Terminal window
php artisan options:list {groups?*}
  • {groups?*}optional: specify one or more groups to filter the list. If omitted, all options from all groups will be displayed.
┌──────────────────────┬────────────────────────┬───────┬───────────┬─────────┐
│ Group │ Key │ Value │ Default │ Type │
├──────────────────────┼────────────────────────┼───────┼───────────┼─────────┤
│ core::administration │ enable-modules-manager │ null │ true │ boolean │
│ core::administration │ brand-name │ null │ "Laravel" │ string │
│ core::administration │ spa │ null │ false │ boolean │
│ core::administration │ top-navigation │ null │ true │ boolean │
└──────────────────────┴────────────────────────┴───────┴───────────┴─────────┘

To set an option, run:

Terminal window
php artisan options:set {group} {key} {value}
┌ Which group do you want to update? ────────────────────────┐
│ core::administration │
└────────────────────────────────────────────────────────────┘
┌ Which key do you want to modify? ──────────────────────────┐
│ spa │
└────────────────────────────────────────────────────────────┘
┌ Enter the new value for the selected key: ─────────────────┐
│ │
└────────────────────────────────────────────────────────────┘

To unset an option:

Terminal window
php artisan options:unset {group} {keys*}
┌ Which group do you want to update? ────────────────────────┐
│ core::administration │
└────────────────────────────────────────────────────────────┘
┌ Select the key(s) to unset ────────────────────────────────┐
│ ◼ enable-modules-manager │
│ › ◼ brand-name │
│ ◻ spa │
│ ◻ top-navigation │
└────────────────────────────────────────────────────────────┘