CrestApps / laravel-code-generator

An efficient Laravel code generator, saving time by automating the creation of resources such as views, controllers, routes, migrations, languages, and form-requests. Highly flexible and customizable, it includes a cross-browser compatible template and client-side validation for application modernization.
https://laravel-code-generator.crestapps.com
MIT License
738 stars 158 forks source link

Blog Post about CrestApps generator (and custom templates) #19

Closed essemme closed 7 years ago

essemme commented 7 years ago

Hello, just a note to let you know I wrote a blog post about my experience using Laravel Code Generator, with examples of adding custom features to the templates:

Saving time with a CRUD generator for Laravel

(Comments and suggestions welcome! Also, english is not my first language, so feel free to point out mistakes and typos)

MikeAlhayek commented 7 years ago

Wow! This is great. I am happy that your experience went very well. And thank you for taking time to write about your experience and use case.

I have couple of suggestions just to get this article up to date. 1) I recommend you pull the latest code from dev-master. The templates have slightly change as they become more robust out of he box. Some variables were changes others were added. You can even create your own variables if needed! 2) I suggest you write a small example about a basic use case without any integration. Many people like to know the out of the box example. Then they can read about integrating it with out her tools there.

Here is a short example that works in dev-master (version 2.1 should be released soon)

php artisan fields-file:create AssetCategory --names=id,name,description,is_active
php artisan create:resources AssetCategory

Here is the same example with the built in translations (no additional packages needed)

php artisan fields-file:create AssetCategory --names=id,name,description,is_active --translation-for=en,ar,fr
php artisan create:resources AssetCategory
essemme commented 7 years ago
  1. Great, this is useful! I'm busy yet, I'll wait for 2.1 stable (and the docs about the new custom variables feature :) )
  2. Yes, good idea - maybe another (shorter) post for the intro.
MikeAlhayek commented 7 years ago

v2.1.0 has been release. Full documentation, example, and live demo can be found at https://crestapps.com/laravel-code-generator/docs/2.1

I am closing this thread. Feel free to contact me directly via email.

Again, thank you for your continues contribution to this project!