I come from CakePHP, recently started learning Laravel-4. It is very hard to see that such a great framework does not come with a code generator for basic CRUD operations. Is that a conscious decision or am I missing something ?
Pretty certain it was a conscious decision. However, Jeffrey Way has created a killer Generator package for Laravel:
https://github.com/JeffreyWay/Laravel-4-Generators
Laravel 5.1 comes with artisan make command to generate different code files, following is a list:
Available commands for the "make" namespace:
  make:command     Create a new command class
  make:console     Create a new Artisan command
  make:controller  Create a new resource controller class
  make:event       Create a new event class
  make:job         Create a new job class
  make:listener    Create a new event listener class
  make:middleware  Create a new middleware class
  make:migration   Create a new migration file
  make:model       Create a new Eloquent model class
  make:policy      Create a new policy class
  make:provider    Create a new service provider class
  make:request     Create a new form request class
  make:seeder      Create a new seeder class
  make:test        Create a new test class
                        If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With