PHP code example of simoja / laramin

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

    

simoja / laramin example snippets


'providers' => [
    // Laravel Framework Service Providers...
    //...

    // Package Service Providers
    Simoja\Laramin\LaraminServiceProvider::class,

    // ...

    // Application Service Providers
    // ...
],
bash
php artisan Laramin:install

composer dump-autoload

$this->call(LaraminDataSeeder::class);
$this->call(LaratrustSeeder::class);

php artisan db:seed