PHP code example of raalveco / scaffolding

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

    

raalveco / scaffolding example snippets


// config/app.php

'providers' => [
    Raalveco\Scaffolding\ScaffoldingServiceProvider::class,
];
txt
    Controller:
        app/Http/CustomersController.php
    Model:
        app/Models/Customer.php
    Migration:
        database/migrations/0000_00_00_000000_create_customers_table.php
    Seed:
        database/seeds/CustomersSeeder.php
    Lang:
        resources/lang/en/customers.php
        resources/lang/es/customers.php
    Views:
        resources/views/customers/index.blade.php
        resources/views/customers/new.blade.php
        resources/views/customers/edit.blade.php
    Routes:
        app/Http/routes.php (Edited)
bash
    php artisan migrate
bash
    php artisan db:seed --class=CustomersSeeder