PHP code example of linhnh95 / laravel5layer

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

    

linhnh95 / laravel5layer example snippets


App\Providers\RepositoryServiceProvider::class,

'request' => [
    'driver' => 'array'
]

try {
    $app->make('cache')->store('request')->flush();
} catch (ReflectionException $ex) {
}
shell
php artisan linh-5layer:init
shell
php artisan linh-5layer:create {Model}