PHP code example of pemba / crud

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

    

pemba / crud example snippets


composer 

php artisan vendor:publish --tag=crud-config

php artisan create:module moduleName --migration //--migration is optional

create:model ModelName --migration moduleName //--migration is optional
create:controller ControllerName moduleName
create:migration migration_name table_name moduleName
text
1.Http/Controllers
    ModuleNameController.php
2.Http/Requests
    ModuleNameRequest.php
3.Models
    ModuleName.php
4.Database/migrations
5.Database/seeders
6.Routes
    web.php
7.Views
    index.blade.php
    create.blade.php
    edit.blade.php
    form.blade.php
8.Policy
    ModuleNamePolicy.php
9.Providers
    ModuleNameServiceProvider.php