PHP code example of desino / crud-engine
1. Go to this page and download the library: Download desino/crud-engine 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/ */
desino / crud-engine example snippets
// Routers :categories
bash
php artisan list | findstr crud-engine
bash
php artisan list | grep crud-engine
bash
php artisan make:crud-engine Category
php artisan make:crud-engine Product --force
CRUD scaffold for Category is ready.
Model: app/Models/Category.php
Controller: app/Http/Controllers/CategoryController.php
Views: resources/views/categories/
Routes: appended to routes/web.php
bash
php artisan migrate