PHP code example of mohammedhassan / crud-package

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

    

mohammedhassan / crud-package example snippets




// app/Schemas/PostSchema.php

return [
    'Post' => [
        'title' => ',
        'user_id' => '
bash
php artisan make:crud {name} {--schema=} {--api-route=} {--controller-route=}
bash
php artisan make:crud Product
bash
php artisan make:crud Post --schema=app/Schemas/PostSchema.php