Skip to content

Commit 0b78d88

Browse files
committed
Add documentation in config.
Make css/js offline. Refactor view to more clean view. Fixing bugs.
1 parent 2e1a204 commit 0b78d88

File tree

24 files changed

+116888
-201
lines changed

24 files changed

+116888
-201
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
/.idea
2-
/vendor
2+
/vendor
3+
/node_modules

config/artisan-gui.php

Lines changed: 142 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,157 @@
22

33
return [
44

5-
// Add middlewares to the route
5+
/*
6+
|--------------------------------------------------------------------------
7+
| Middleware list for web routes
8+
|--------------------------------------------------------------------------
9+
|
10+
| You can pass any middleware for routes, by default it's just [web] group
11+
| of middleware.
12+
|
13+
*/
614
'middlewares' => [
715
'web',
816
// 'auth'
917
],
1018

11-
// route prefix -> ~artisan
19+
/*
20+
|--------------------------------------------------------------------------
21+
| Route prefix
22+
|--------------------------------------------------------------------------
23+
|
24+
| Prefix for advisor routes. By default url is [/~artisan-gui].
25+
| For your wish you can set it for example 'my-'. So url will be [/my-artisan-gui].
26+
|
27+
| Why tilda? It's selected for prevent route names correlation.
28+
|
29+
*/
1230
'prefix' => '~',
1331

14-
// Register routes only when local environment
15-
'only_local' => true,
32+
/*
33+
|--------------------------------------------------------------------------
34+
| Home url
35+
|--------------------------------------------------------------------------
36+
|
37+
| Where to go when [home] button is pressed
38+
|
39+
*/
40+
'home' => url('/'),
1641

17-
// List of custom commands to show it in list of all commands
18-
// If not empty shows [App] block in page
42+
/*
43+
|--------------------------------------------------------------------------
44+
| Only on local
45+
|--------------------------------------------------------------------------
46+
|
47+
| Flag that preventing showing commands if environment is on production
48+
|
49+
*/
50+
'local' => true,
51+
52+
/*
53+
|--------------------------------------------------------------------------
54+
| List of commands
55+
|--------------------------------------------------------------------------
56+
|
57+
| List of all default commands that has end of execution. Commands like
58+
| [serve] not supported in case of server side behavior of php.
59+
| Keys means group. You can shuffle commands as you wish and add your own.
60+
|
61+
*/
1962
'commands' => [
20-
// Example: 'ide-helper:models'
63+
'laravel' => [
64+
'clear-compiled',
65+
'down',
66+
'up',
67+
'env',
68+
'help',
69+
'inspire',
70+
'list',
71+
'notifications:table',
72+
'package:discover',
73+
'schedule:run',
74+
'schema:dump',
75+
'session:table',
76+
'storage:link',
77+
'stub:publish',
78+
'auth:clear-resets',
79+
],
80+
'optimize' => [
81+
'optimize',
82+
'optimize:clear',
83+
],
84+
'cache' => [
85+
'cache:clear',
86+
'cache:forget',
87+
'cache:table',
88+
'config:clear',
89+
'config:cache',
90+
],
91+
'database' => [
92+
'db:seed',
93+
'db:wipe',
94+
],
95+
'events' => [
96+
'event:cache',
97+
'event:clear',
98+
'event:generate',
99+
'event:list',
100+
],
101+
'make' => [
102+
'make:cast',
103+
'make:channel',
104+
'make:command',
105+
'make:component',
106+
'make:controller',
107+
'make:event',
108+
'make:exception',
109+
'make:factory',
110+
'make:job',
111+
'make:listener',
112+
'make:mail',
113+
'make:middleware',
114+
'make:migration',
115+
'make:model',
116+
'make:notification',
117+
'make:observer',
118+
'make:policy',
119+
'make:provider',
120+
'make:request',
121+
'make:resource',
122+
'make:rule',
123+
'make:seeder',
124+
'make:test',
125+
],
126+
'migrate' => [
127+
'migrate',
128+
'migrate:fresh',
129+
'migrate:install',
130+
'migrate:refresh',
131+
'migrate:reset',
132+
'migrate:rollback',
133+
'migrate:status',
134+
],
135+
'queue' => [
136+
'queue:batches-table',
137+
'queue:clear',
138+
'queue:failed',
139+
'queue:failed-table',
140+
'queue:flush',
141+
'queue:forget',
142+
'queue:restart',
143+
'queue:retry',
144+
'queue:retry-batch',
145+
'queue:table',
146+
],
147+
'route' => [
148+
'route:cache',
149+
'route:clear',
150+
'route:list',
151+
],
152+
'view' => [
153+
'view:cache',
154+
'view:clear'
155+
]
21156
]
22157

23158
];

mix-manifest.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"/stubs/js/gui.js": "/stubs/js/gui.js",
3+
"/stubs/css/gui.css": "/stubs/css/gui.css"
4+
}

0 commit comments

Comments
 (0)