|
4 | 4 |
|
5 | 5 | /* |
6 | 6 | |-------------------------------------------------------------------------- |
7 | | - | The default template to use |
| 7 | + | The default template to use. |
8 | 8 | |-------------------------------------------------------------------------- |
9 | 9 | | |
10 | 10 | | Here you change the stub templates to use when generating code. |
|
18 | 18 | | it will override the default template causing you to lose your modification. |
19 | 19 | | |
20 | 20 | */ |
21 | | - |
22 | 21 | 'template' => 'default', |
23 | 22 |
|
24 | 23 | /* |
25 | 24 | |-------------------------------------------------------------------------- |
26 | | - | The default path of where the templates are located |
| 25 | + | The default path where the templates are located. |
27 | 26 | |-------------------------------------------------------------------------- |
28 | 27 | | |
29 | 28 | | In this path, you can add more templates. |
30 | 29 | | |
31 | 30 | */ |
32 | | - |
33 | 31 | 'templates_path' => base_path('resources/codegenerator-templates'), |
34 | 32 |
|
35 | 33 | /* |
36 | 34 | |-------------------------------------------------------------------------- |
37 | | - | Array of templetes that should be generated with Laravel-Collective |
| 35 | + | Array of templetes that should be generated with Laravel-Collective. |
38 | 36 | |-------------------------------------------------------------------------- |
39 | 37 | | |
40 | 38 | | If you want to generate code by using laravel-collective, you must first |
41 | | - | install the backage and then list of package name that should be |
42 | | - | generated using Laravel-Collective extensions. |
| 39 | + | install the package. Then add the tamplate name that should be using |
| 40 | + | Laravel-Collective extensions when generating code. |
43 | 41 | */ |
44 | | - |
45 | 42 | 'laravel_collective_templates' => [ |
46 | 43 | 'default-collective' |
47 | 44 | ], |
48 | 45 |
|
49 | 46 | /* |
50 | 47 | |-------------------------------------------------------------------------- |
51 | | - | The default path of where the uploaded files lives! |
| 48 | + | The default path of where the uploaded files lives. |
52 | 49 | |-------------------------------------------------------------------------- |
53 | 50 | | |
54 | 51 | | |
55 | 52 | */ |
56 | | - |
57 | 53 | 'files_upload_path' => public_path('uploads'), |
58 | 54 |
|
59 | 55 | /* |
|
64 | 60 | | In this path, you can create json file to import the fields from. |
65 | 61 | | |
66 | 62 | */ |
67 | | - |
68 | 63 | 'fields_file_path' => base_path('resources/codegenerator-files'), |
69 | 64 |
|
70 | 65 | /* |
71 | 66 | |-------------------------------------------------------------------------- |
72 | | - | The default path of where the migrations will be generated from |
| 67 | + | The default path of where the migrations will be generated into. |
73 | 68 | |-------------------------------------------------------------------------- |
74 | 69 | */ |
75 | | - |
76 | 70 | 'migrations_path' => base_path('database/migrations'), |
77 | 71 |
|
78 | 72 | /* |
79 | 73 | |-------------------------------------------------------------------------- |
80 | | - | The default path of where the controllers will be generated from |
| 74 | + | The default path of where the controllers will be generated into. |
81 | 75 | |-------------------------------------------------------------------------- |
82 | 76 | */ |
83 | 77 | 'form_requests_path' => app_path('Http/Requests'), |
84 | 78 |
|
85 | 79 | /* |
86 | 80 | |-------------------------------------------------------------------------- |
87 | | - | The default path of where the controllers will be generated from |
| 81 | + | The default path of where the controllers will be generated into. |
88 | 82 | |-------------------------------------------------------------------------- |
89 | 83 | */ |
90 | 84 | 'controllers_path' => 'Http/Controllers', |
91 | 85 |
|
92 | 86 | /* |
93 | 87 | |-------------------------------------------------------------------------- |
94 | | - | The default path of where the models will be generated from |
| 88 | + | The default path of where the models will be generated into. |
95 | 89 | |-------------------------------------------------------------------------- |
96 | 90 | */ |
97 | 91 | 'models_path' => 'Models', |
98 | 92 |
|
99 | 93 | /* |
100 | 94 | |-------------------------------------------------------------------------- |
101 | | - | The default path of where the migrations will be generated from |
| 95 | + | The default path of where the languages will be generated into. |
102 | 96 | |-------------------------------------------------------------------------- |
103 | 97 | */ |
104 | | - |
105 | 98 | 'languages_path' => base_path('resources/lang'), |
106 | 99 |
|
107 | 100 | /* |
|
164 | 157 | 'uuid' => 'uuid' |
165 | 158 | ], |
166 | 159 |
|
167 | | - |
168 | 160 | /* |
169 | 161 | |-------------------------------------------------------------------------- |
170 | 162 | | Eloquent method to html-type mapping |
|
0 commit comments