PHP code example of imycc / laravel-simple-pattern

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

    

imycc / laravel-simple-pattern example snippets


php artisan vendor:publish --provider="LaravelSimplePattern\LspServiceProvider" --tag="install"

'providers' => [
    ...
    App\Providers\RepositoryServiceProvider::class,
],

'providers' => [
    ...
    LaravelSimplePattern\LspServiceProvider::class,
    App\Providers\RepositoryServiceProvider::class
],

php artisan make:repo DummyRepository -i -b