Skip to content
This repository was archived by the owner on Oct 8, 2024. It is now read-only.

Commit 67a26b6

Browse files
committed
feat: update paths config
1 parent 634df86 commit 67a26b6

File tree

1 file changed

+49
-14
lines changed

1 file changed

+49
-14
lines changed

config/paths.php

100755100644
Lines changed: 49 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,66 @@
11
<?php
22

3+
/*
4+
|--------------------------------------------------------------------------
5+
| Paths Config
6+
|--------------------------------------------------------------------------
7+
|
8+
| Leaf allows you to completely modify the directory structure of your
9+
| MVC application. This file just tells Leaf and other components
10+
| where to find the important files in your app.
11+
|
12+
*/
13+
314
return [
4-
'controllersPath' => 'app/controllers',
15+
'assets' => 'public/assets',
16+
17+
'commands' => 'app/console',
18+
19+
'config' => 'config',
20+
21+
'channels' => 'app/channels',
22+
23+
'components' => 'app/components',
24+
25+
'controllers' => 'app/controllers',
26+
27+
'databaseStorage' => 'storage/app/db',
28+
29+
'events' => 'app/events',
30+
31+
'factories' => 'app/database/factories',
32+
33+
'helpers' => 'app/helpers',
34+
35+
'jobs' => 'app/jobs',
36+
37+
'lib' => 'lib',
38+
39+
'mail' => 'app/mail',
540

6-
'modelsPath' => 'app/models',
41+
'middleware' => 'app/middleware',
742

8-
'migrationsPath' => 'app/database/migrations',
43+
'migrations' => 'app/database/migrations',
944

10-
'seedsPath' => 'app/database/seeds',
45+
'models' => 'app/models',
1146

12-
'factoriesPath' => 'app/database/factories',
47+
'public' => 'public',
1348

14-
'helpersPath' => 'app/helpers',
49+
'routes' => 'app/routes',
1550

16-
'viewsPath' => 'app/views',
51+
'schema' => 'app/database/schema',
1752

18-
'configPath' => 'config',
53+
'scripts' => 'app/scripts',
1954

20-
'storagePath' => 'storage',
55+
'seeds' => 'app/database/seeds',
2156

22-
'commandsPath' => 'app/console',
57+
'services' => 'app/services',
2358

24-
'routesPath' => 'app/routes',
59+
'storage' => 'storage',
2560

26-
'libPath' => 'lib',
61+
'utils' => 'app/utils',
2762

28-
'publicPath' => 'public',
63+
'views' => 'app/views',
2964

30-
'databaseStoragePath' => 'storage/app/db'
65+
'workers' => 'app/workers',
3166
];

0 commit comments

Comments
 (0)