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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
## v2.3.0
1
+
## v2.3 - v2.4
2
2
- The `create:resources` command have been renamed to `create:scaffold`.
3
3
- The `--fields` option was added to the `create:scaffold` to allow you to scaffold everything using a single command. So you can use the `create:scaffold` command to create resource-file and scaffold all at the same time. For example, `php artisan create:scaffold Test --fields=id,first_field,second_field`. The previous command will first create the resource-file before it create your other resources. The `--fields` option should only be used one time only to create the resource-file not every time.
4
4
- The default value of the option `controller-extends` in the `create:controller` command was changed from `Http\Controllers\Controller` to `default-controller`.
An intelligent code generator for Laravel framework that will save you time! This awesome tool will help you generate resources like views, controllers, routes, migrations, languages and/or form-requests! It is extremely flexible and customizable to cover many use cases. It is shipped with a cross-browser compatible template, along with client-side validation to modernize your application.
6
+
An intelligent code generator for Laravel framework that will save you time! This awesome tool will help you generate resources like views, controllers, routes, migrations, languages and/or form-requests! It is extremely flexible and customizable to cover many on the use cases. It is shipped with cross-browsers compatible template, along with a client-side validation to modernize your application.
8
7
9
-
<<<<<<< HEAD
10
-
For full documentation and live demo, please visit <ahref="https://crestapps.com/laravel-code-generator/docs/2.2"target="_blank"title="Laravel Code Generator Documentation">CrestApps.com</a>
11
-
=======
12
8
For full documentation and live demo please visit <ahref="https://crestapps.com/laravel-code-generator/docs/2.3"target="_blank"title="Laravel Code Generator Documentation">CrestApps.com</a>
13
-
>>>>>>> v2.3
9
+
10
+
**Note: ** The available documentation is for versions <= 2.2. The documentation for vertion 2.3+ is very similar with some exceptions. Please review the <ahref="https://github.com/CrestApps/laravel-code-generator/blob/master/CHANGELOG.md"title="ChangeLog">Change Log</a> to get a list of the changes.
14
11
15
12
## Features
16
13
@@ -19,25 +16,21 @@ For full documentation and live demo please visit <a href="https://crestapps.com
19
16
<li>Create very clean, reusable and highly readable code to build on.</li>
20
17
<li>Create full resources using a single command with <strong>migration</strong> or from <strong>existing database</strong>.</li>
21
18
<li>Creates full resources for all of the existing tables in the database using one command.</li>
22
-
<<<<<<< HEAD
23
-
<li>Allows you to save the fields in a JSON file and recreate resources when the business needs change.</li>
24
-
=======
25
19
<li>Create full API-based resources using a single command with <strong>migration</strong> or from <strong>existing database</strong>.</li>
26
20
<li>Create beautiful documentation for your API.</li>
27
21
<li>Create api-resource and api-resource-collection with Laravel 5.5+.</li>
28
22
<li>Allows you to save the fields in a JSON file and recreate resources when the business needs changes.</li>
29
-
>>>>>>> v2.3
30
23
<li>Utilizes JSON based resource-file to allow you to define your resources. Resource-file allows you to easily regenerate the resource at any time even when the business rules change.</li>
31
24
<li>Create standard CRUD controllers with simple or form-request validation.</li>
32
25
<li>Customizable view’s templates to enable you to change the standard look and feel of your application.</li>
33
26
<li>Create model with relations.</li>
34
27
<li>Create named routes with and without group.</li>
35
28
<li>Create standard CRUD views.</li>
36
29
<li>Smart migration engine! Keeps track of all generated migrations to only create the needed migration.</li>
37
-
<li>Intelligent enough to automatically handle the relations between the models.</li>
30
+
<li>Intelligent enough to automatically handles the relations between the models.</li>
38
31
<li>Very flexible and rich with configurable options.</li>
39
32
<li>Easy commands to create resource-file; additionally, add or reduce existing resource-file.</li>
40
-
<li>Full capability to generate multi-language applications.</li>
33
+
<li>Full capability to generate multi-languages applications.</li>
41
34
<li>Client-side validation.</li>
42
35
<li>File uploading handling.</li>
43
36
<li>Auto store multiple-response in the database.</li>
@@ -52,7 +45,7 @@ For full documentation and live demo please visit <a href="https://crestapps.com
52
45
53
46
## Installation
54
47
55
-
1. To download this package into your laravel project, use the command-line to execute the following command:
48
+
1. To download this package into your laravel project, use the command-line to execute the following command
> A layout is required for the default views! The code generator allows you to create a layout using the command-line. Of course, you can use also your own layout. You'll only need to include [CSS bootstrap framework](http://getbootstrap.com/"CSS bootstrap framework") in your layout for the default templates to work properly. Additionally, you can chose to design your own templetes using a different framework or css.
80
-
=======
81
64
> A layout is required for the default views! The code generator allows you to create a layout using the command-line. Of cource you can use your own layout. You'll only need to include [CSS bootstrap framework](http://getbootstrap.com/"CSS bootstrap framework") in your layout for the default templates to work properly. Additionally, you can chose to you design your own templetes using a different or no css framework.
82
-
>>>>>>> v2.3
83
65
84
66
## Lessons
85
67
Checkout our channel on <ahref="https://www.youtube.com/channel/UCkEd0nOoRf3o0ahspAu7Y9w/videos"target="_blank"title="CrestApps YouTube Channel">YouTube.com</a>
@@ -163,16 +145,6 @@ Do you like this project and want to contribute?
163
145
## What did you create with this package?
164
146
I'd love to know if your site was generated using this package and list your logo on the documentation site. Please email using my contact info found in `composer.json` file.
165
147
166
-
## Contribution
167
-
Do you like this project and want to contribute?
168
-
-**HELP WANTED** Version `v2.3` needs to be documented before it can be released. If you are able to contribute, please read the <ahref="https://github.com/CrestApps/laravel-code-generator/blob/v2.3/CHANGELOG.md">change-log</a> in <ahref="https://github.com/CrestApps/laravel-code-generator/tree/v2.3">v2.3 branch</a> and document it in the <ahref="https://github.com/CrestApps/crestapps-site">CrestApps-site</a> repository. For any help, my email can be found in the `composer.json` file, feel free to send me an email.
169
-
- Please start by ***Staring*** this package on GitHub.
170
-
- Sharing this projects with others is your way of saying keep the improvements and new awesome features coming.
171
-
- Report any bugs or send us any comments, idea, thought that you may have about this project as an issue on GitHub.
172
-
173
-
## What did you create with this package?
174
-
I'd love to know if your site was generated using this package and list your logo on the documentation site. Please email me by using my contact info found in `composer.json` file.
175
-
176
148
## Examples
177
149
178
150
The following example assumes that we are trying to create a CRUD called <var>AssetCategory</var> with the fields listed below.
@@ -187,13 +159,8 @@ The following example assumes that we are trying to create a CRUD called <var>As
<p><small>The above command will create a resource-file named <code>asset_categories</code>, and will save it here <var>/resources/laravel-code-generator/sources/asset_categories.json</var></small></p>
<p><small>The above command will create a model <var>app/Models/AssetCategory</var>, a controller <var>app/Http/Controllers/AssetCategoriesController, all views, the routes, and migration class!</var></small></p>
198
165
</blockquote>
199
166
@@ -218,72 +185,45 @@ The following example assumes that we are trying to create a CRUD called <var>As
<p><small>The above command will create a model <var>app/Models/AssetCategory</var>, a controller <var>app/Http/Controllers/AssetCategoriesController, all views, the routes, and migration class!</var></small></p>
<p><small>The above command will create a model <var>app/Models/AssetCategory</var>, a controller <var>app/Http/Controllers/AssetCategoriesController, all views, the routes, and <var>app/Http/Requests/AssetCategoriesFormRequest</var> class!</var></small></p>
<p><small>The above command will create a model <var>app/Models/AssetCategory</var>, a controller <var>app/Http/Controllers/AssetCategoriesController, all views, the routes, and migration file!</var></small></p>
<p><small>The above command will create resource-file named <var>/resources/laravel-code-generator/sources/asset_categories.json</var>. It is going to assume that the table name is called "asset_categories" in your database. Note, it assumes your table is plural. If that is not the case, you can use <var>--table-name=some_other_table_name</var></small></p>
265
-
266
-
<p><small>Then it will create a model <var>app/Models/AssetCategory</var>, a controller <var>app/Http/Controllers/AssetCategoriesController, all views and routes!</var></small></p>
<p><small>The above command will create resource-file names <var>/resources/laravel-code-generator/sources/asset_categories.json</var>. It is going to assume that the table name is called "asset_categories" in your database. If that is not the case, you can use <var>--table-name=some_other_table_name</var></small></p>
270
216
271
217
<p><small>Then it will create a model <var>app/Models/AssetCategory</var>, a controller <var>app/Http/Controllers/AssetCategoriesController, all views and the routes!</var></small></p>
272
-
>>>>>>> v2.3
273
218
<p><small>You may also create a resource-file from existing database separately using <code>php artisan resource-file:from-database AssetCategory</code></small></p>
274
219
</blockquote>
275
220
276
221
277
222
#### Creating resources from existing database with translation for English and Arabic
<p><small>The above command will create resource-file names <var>/resources/laravel-code-generator/sources/asset_categories.json</var></small></p>
286
-
>>>>>>> v2.3
287
227
<p><small>Then it will create a model <var>app/Models/AssetCategory</var>, a controller <var>app/Http/Controllers/AssetCategoriesController, all views and the routes!</var></small></p>
288
228
<p><small>You may also create a resource-file from existing database separately using <code>php artisan resource-file:from-database AssetCategory --translation-for=en,ar</code></small></p>
289
229
</blockquote>
@@ -292,15 +232,9 @@ The following example assumes that we are trying to create a CRUD called <var>As
<p><small>The above command will create resource-file named <var>/resources/laravel-code-generator/sources/asset_categories.json</var></small></p>
298
-
<p><small>Then it will create a model <var>app/Models/AssetCategory</var>, a controller <var>app/Http/Controllers/AssetCategoriesController, all views and routes!</var></small></p>
<p><small>The above command will create resource-file names <var>/resources/laravel-code-generator/sources/asset_categories.json</var></small></p>
302
237
<p><small>Then it will create a model <var>app/Models/AssetCategory</var>, a controller <var>app/Http/Controllers/AssetCategoriesController, all views and the routes!</var></small></p>
Copy file name to clipboardExpand all lines: composer.json
-4Lines changed: 0 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -2,11 +2,7 @@
2
2
"name": "crestapps/laravel-code-generator",
3
3
"license": "MIT",
4
4
"description": "An intelligent code generator for Laravel framework that will save you time! This awesome tool will help you generate resources like views, controllers, routes, migrations, languages and/or form-requests! It is extremely flexible and customizable to cover many on the use cases. It is shipped with cross-browsers compatible template, along with a client-side validation to modernize your application.",
0 commit comments