whitegolem/laracrud

crud controller for Laravel 4

dev-master 2014-12-29 17:03 UTC

This package is auto-updated.

Last update: 2024-10-29 04:36:18 UTC


README

crud controller helper for laravel 4

1 - open config/app.php and add the service provider for this package in the $providers array

	'Whitegolem\LaraCrud\CrudServiceProvider'

2 - edit BaseController.php:

<?php

use Whitegolem\LaraCrud\Routing\Controllers\CrudController;

class BaseController extends CrudController {
	...
	...
	...

3 - make a BaseModel and inherit from Crud.php:

<?php

use Whitegolem\LaraCrud\Database\Eloquent\Crud;

class Base extends Crud {
	
}