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: README.md
+22-21Lines changed: 22 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,28 +2,28 @@
2
2
3
3
## Introduction
4
4
5
-
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.
5
+
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
6
7
-
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>
7
+
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>
8
8
9
9
## Features
10
10
11
11
<ul>
12
12
<li>Create very clean, reusable and highly readable code to build on.</li>
13
13
<li>Create full resources using a single command with <strong>migration</strong> or from <strong>existing database</strong>.</li>
14
14
<li>Creates full resources for all of the existing tables in the database using one command.</li>
15
-
<li>Allows you to save the fields in a JSON file and recreate resources when the business needs changes.</li>
15
+
<li>Allows you to save the fields in a JSON file and recreate resources when the business needs change.</li>
16
16
<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>
17
17
<li>Create standard CRUD controllers with simple or form-request validation.</li>
18
18
<li>Customizable view’s templates to enable you to change the standard look and feel of your application.</li>
19
19
<li>Create model with relations.</li>
20
20
<li>Create named routes with and without group.</li>
21
21
<li>Create standard CRUD views.</li>
22
22
<li>Smart migration engine! Keeps track of all generated migrations to only create the needed migration.</li>
23
-
<li>Intelligent enough to automatically handles the relations between the models.</li>
23
+
<li>Intelligent enough to automatically handle the relations between the models.</li>
24
24
<li>Very flexible and rich with configurable options.</li>
25
25
<li>Easy commands to create resource-file; additionally, add or reduce existing resource-file.</li>
26
-
<li>Full capability to generate multi-languages applications.</li>
26
+
<li>Full capability to generate multi-language applications.</li>
27
27
<li>Client-side validation.</li>
28
28
<li>File uploading handling.</li>
29
29
<li>Auto store multiple-response in the database.</li>
@@ -38,7 +38,7 @@ For full documentation and live demo please visit <a href="https://crestapps.com
38
38
39
39
## Installation
40
40
41
-
1. To download this package into your laravel project, use the command-line to execute the following command
41
+
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 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.
63
+
64
+
> 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.
64
65
65
66
## Lessons
66
67
Checkout our channel on <ahref="https://www.youtube.com/channel/UCkEd0nOoRf3o0ahspAu7Y9w/videos"target="_blank"title="CrestApps YouTube Channel">YouTube.com</a>
@@ -128,11 +129,11 @@ Checkout our channel on <a href="https://www.youtube.com/channel/UCkEd0nOoRf3o0a
128
129
## Contribution
129
130
Do you like this project and want to contribute?
130
131
- Please start by *Staring* this package on GitHub.
131
-
- Sharing this projects with others is your way of saying keep improvements and new awesome feature coming.
132
+
- Sharing this projects with others is your way of saying keep the improvements and new awesome features coming.
132
133
- Report any bugs or send us any comments, idea, thought that you may have about this project as an issue on GitHub.
133
134
134
135
## What did you create with this package?
135
-
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.
136
+
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.
136
137
137
138
## Examples
138
139
@@ -148,7 +149,7 @@ The following example assumes that we are trying to create a CRUD called <var>As
<p><small>The above command will create resource-file names <var>/resources/laravel-code-generator/sources/asset_categories.json</var></small></p>
152
+
<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>
154
155
</blockquote>
@@ -158,7 +159,7 @@ 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>
164
165
</blockquote>
@@ -167,7 +168,7 @@ 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 <var>app/Http/Requests/AssetCategoriesFormRequest</var> class!</var></small></p>
173
174
</blockquote>
@@ -176,7 +177,7 @@ 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 file!</var></small></p>
182
183
</blockquote>
@@ -185,29 +186,29 @@ The following example assumes that we are trying to create a CRUD called <var>As
<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>
189
+
<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>
189
190
190
-
<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>
191
-
<p><small>You may also create a resource-file from existing database separately using <code>php artisan resource-file:form-database AssetCategory</code></small></p>
191
+
<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>
192
+
<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>
192
193
</blockquote>
193
194
194
195
195
196
### 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>
200
+
<p><small>The above command will create resource-file named <var>/resources/laravel-code-generator/sources/asset_categories.json</var></small></p>
200
201
<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>
201
-
<p><small>You may also create a resource-file from existing database separately using <code>php artisan resource-file:form-database AssetCategory --translation-for=en,ar</code></small></p>
202
+
<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>
202
203
</blockquote>
203
204
204
205
### Creating resources from existing database with translation for English and Arabic in two step for better control over the fields!
<p><small>The above command will create resource-file names <var>/resources/laravel-code-generator/sources/asset_categories.json</var></small></p>
210
-
<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>
210
+
<p><small>The above command will create resource-file named <var>/resources/laravel-code-generator/sources/asset_categories.json</var></small></p>
211
+
<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>
0 commit comments