tareq / xcurd
Easy Curd
Installs: 21
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/tareq/xcurd
README
Xcurd is crud generetor for laravel.With xcurd you can easily make curd operation of any tipe of model.
- Type some Markdown on the left
- See HTML in the right
- Magic
Installation
Xcurd can be install by this composer command
composer require tareq/xcurd
- Install xcurd package from composer in your laravel app.
- Create a xmodel by this php artisan command
php artisan make:xmodel Blog -m
- Change migration file and then migrate
php artisan migrate
- Make changes in your model like form fields and display table fields
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Category extends Model { public $routeNamePrefix="";//if route hav prefix public $form_fields=['name'=>'text']; //curd form fields public $table_fields=['name']; //curd table fields }