PHP code example of kairossystems / crud
1. Go to this page and download the library: Download kairossystems/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/ */
kairossystems / crud example snippets
namespace App\Http\Controllers;
use KairosSystems\CRUD\BaseController;
use Illuminate\Http\Request;
use App\ModelClass;
class TestController extends BaseController
{
protected $class = ModelClass::class;
protected $rulesCreate = [
'name' => '
php artisan make:controller TestController