1. Go to this page and download the library: Download marabesi/easy-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/ */
return [
/**
* All models that should have a CRUD. The key of the element will
* appear as the menu label in the admin area
*/
'models' => [
'Users' => \App\User::class
],
/**
* URL that should be used to access the gentella admin
* where you can manage all models that have CRUD
*/
'url_base' => '/admin',
/**
* You might want to have some validation before accessing
* the gentela admin, to achieve that, just inform the middleware
* class name in the array. It will go through each middleware declared
* below.
*/
'middlewares' => [
]
];
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.