Manage Options
Options can be set or unset using Artisan commands or using the Administration.
List All Options
Section titled “List All Options”To view all registered options, run the command:
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 │ └──────────────────────┴────────────────────────┴───────┴───────────┴─────────┘Set a Specific Option
Section titled “Set a Specific Option”To set an option, run:
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: ─────────────────┐ │ │ └────────────────────────────────────────────────────────────┘Unset a Specific Option
Section titled “Unset a Specific Option”To unset an option:
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 │ └────────────────────────────────────────────────────────────┘