You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default Totem's dashboard only works in local environment. To view the dashboard point your browser to /totem of your app. For e.g. laravel.dev/totem.
85
85
86
+
##### Filter Commands Dropdown
87
+
88
+
By default `Totem` outputs all Artisan commands on the Create/Edit tasks. To make this dropdown more concise there is a filter config feature that can be set in the `totem.php` config file.
89
+
90
+
Example filters
91
+
```php
92
+
'artisan' => [
93
+
'command_filter' => [
94
+
'stats:*',
95
+
'email:daily-reports'
96
+
],
97
+
],
98
+
```
99
+
100
+
This feature uses [fnmatch](http://php.net/manual/en/function.fnmatch.php) syntax to filter displayed commands. `stats:*` will match all Artisan commands that start with `stats:` while `email:daily-reports` will only match the command named `email:daily-reports`.
101
+
86
102
#### Middleware
87
103
88
104
`Laravel Totem` uses the default web and api middleware but if customization is required the middleware can be changed by setting the appropriate `.env` value. These values can be found in `config/totem.php`.
0 commit comments