PHP code example of rasrobin / crud

1. Go to this page and download the library: Download rasrobin/crud 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/ */

    

rasrobin / crud example snippets


php artisan vendor:publish --tag=public --force

/**
 * {@inheritdoc}
 */
public static function crudFormTemplate()
{
    return 'rasrobin\blog::blog_form';
}

Route::group(['prefix' => 'admin', 'middleware' => ['web', 'auth']], function(){
    Route::resource('blog', 'Rasrobin\Blog\Controllers\BlogController');
});