|
1 | 1 | <?php |
2 | 2 |
|
| 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 | + |
3 | 14 | 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', |
5 | 40 |
|
6 | | - 'modelsPath' => 'app/models', |
| 41 | + 'middleware' => 'app/middleware', |
7 | 42 |
|
8 | | - 'migrationsPath' => 'app/database/migrations', |
| 43 | + 'migrations' => 'app/database/migrations', |
9 | 44 |
|
10 | | - 'seedsPath' => 'app/database/seeds', |
| 45 | + 'models' => 'app/models', |
11 | 46 |
|
12 | | - 'factoriesPath' => 'app/database/factories', |
| 47 | + 'public' => 'public', |
13 | 48 |
|
14 | | - 'helpersPath' => 'app/helpers', |
| 49 | + 'routes' => 'app/routes', |
15 | 50 |
|
16 | | - 'viewsPath' => 'app/views', |
| 51 | + 'schema' => 'app/database/schema', |
17 | 52 |
|
18 | | - 'configPath' => 'config', |
| 53 | + 'scripts' => 'app/scripts', |
19 | 54 |
|
20 | | - 'storagePath' => 'storage', |
| 55 | + 'seeds' => 'app/database/seeds', |
21 | 56 |
|
22 | | - 'commandsPath' => 'app/console', |
| 57 | + 'services' => 'app/services', |
23 | 58 |
|
24 | | - 'routesPath' => 'app/routes', |
| 59 | + 'storage' => 'storage', |
25 | 60 |
|
26 | | - 'libPath' => 'lib', |
| 61 | + 'utils' => 'app/utils', |
27 | 62 |
|
28 | | - 'publicPath' => 'public', |
| 63 | + 'views' => 'app/views', |
29 | 64 |
|
30 | | - 'databaseStoragePath' => 'storage/app/db' |
| 65 | + 'workers' => 'app/workers', |
31 | 66 | ]; |
0 commit comments