PHP code example of kilroyweb / cruddy

1. Go to this page and download the library: Download kilroyweb/cruddy library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

kilroyweb / cruddy example snippets


KilroyWeb\Cruddy\CruddyServiceProvider::class,

'Cruddy'=> KilroyWeb\Cruddy\Facades\Cruddy::class,




namespace App\Http\Controllers\Books;

use KilroyWeb\Cruddy\Controllers\CruddyController;

class BookController extends CruddyController{

    protected $model = \App\Book::class;

}