laravel / blog-contest-may-mayhem

240 stars 16 forks source link

Laravel CRUD generator from scratch #18

Open devlob opened 6 years ago

devlob commented 6 years ago

https://medium.com/@devlob/laravel-crud-generators-614caddf8bea

hellowords commented 6 years ago

不错的文章

devlob commented 6 years ago

Thank you @hellowords :+1: :)

devlob commented 6 years ago

I think that I will work on this and make it a full-rich library. Something similar to what Visual Studio offers :/

JunaidQadirB commented 6 years ago

Exactly what I wanted. Thanks!

devlob commented 6 years ago

@JeyKeu would you like this as a full package?

Some features will include:

etc.

JunaidQadirB commented 6 years ago

@devlob a package would be great. something that's unobtrusive.

devlob commented 6 years ago

Got it :)

hafizur-dev commented 6 years ago

I have try it, but I have faced error. Symfony\Component\Debug\Exception\FatalThrowableError : Class 'App\Console\Commands\File' not found

at /var/www/html/Contest/app/Console/Commands/CrudGenerator.php:92 88| $this->controller($name); 89| $this->model($name); 90| $this->request($name); 91|

92| File::append(base_path('routes/api.php'), 'Route::resource(\'' . str_plural(strtolower($name)) . "', '{$name}Controller');"); 93| } 94| } 95|