Package Data | |
---|---|
Maintainer Username: | pyaesone17 |
Maintainer Contact: | promise286@gmail.com (pyaesone17) |
Package Create Date: | 2015-11-19 |
Package Last Update: | 2015-11-19 |
Language: | PHP |
License: | Unknown |
Last Refreshed: | 2024-11-19 03:03:20 |
Package Statistics | |
---|---|
Total Downloads: | 13 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 6 |
Total Watchers: | 3 |
Total Forks: | 1 |
Total Open Issues: | 0 |
Laracrud is a scalfolding CRUD generator for Laravel Framework. Dont Repeat Yourself with the thing you always do , just generate it.
##Installation
You can install this package via composer using this command:
composer require pyaesone17/laracrud:dev-master
My packages is fully depends on laravel eloquent model . So you have to create Model first and include attributes in fillable array.
<? php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Candidate extends Model
{
protected $fillable=['father','mother'];
public $textareas=['hi','hay'];
}
?>
Dont Forget to register Service Provider Like this in config/app.php
'providers' => [
............................................,
Veve\Laracrud\LaracrudServiceProvider::class,
]
Then you can easily create my generator like this
php artisan crud:create Candidate
It will generate (Route,Controller,Repositories,Migration Files,CRUD view)
But you have to define master.blade.php and include bootstrap framework in your master view to work well with my CRUD template.
##Tips
##Note Why I chose to output html code directly ?
Because HTML code is more readable and you can easily change or modify the code.
##Todos