laravel-api-generator
laravel-api-generator copied to clipboard
Laravel API/Scaffold/CRUD Generator including Controller, Repository, Model, Migrations, routes.php update.
I was wondering if there is a way to do something like this with the generator. ``` public function up() { Schema::create('categories', function (Blueprint $table) { $table->increments('id'); $table->string('title'); $table->integer('parent_id'); $table->timestamps();...
1. My model has a field 'department_id', which is set value as per the current authenticated user's department, hence cannot be allowed to set from views. So how to do...
I have completed a project using your package. Now my client want to use pagination in existing api which is not working. When I have used ``` $news = $this->newsRepository->paginate(1);...
Is it possible to create model relationships by using the command?
after running this command : artisan vendor:publish --provider=\"Mitul\Generator\GeneratorServiceProvider\" getting : Nothing to publish for tag []. Process finished with exit code 0 at 19:34:55. Execution time: 393 ms.
HI Mitul, great project thanks! Just having an issue with: mitul.generator:scaffold_api It generates everything ok but when i try load a view it seems to complain about missing app. Assuming...
Something is not working well - when editing some form fields, values don't get updated on save; e.g.: - gender radio - remember checkbox - some form fields don't get...
"use statement ..\AppBaseController" removed because it will probably be with the Controller calling it, in the same folder.