PHP code example of andersevenrud / laravel-1881

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

    

andersevenrud / laravel-1881 example snippets


// config/app.php

'providers' => [
    Laravel\DM1881\DM1881ServiceProvider::class,
],

'aliases' => [
  'DM1881' => Laravel\DM1881\Facades\DM1881::class
]

$ php artisan vendor:publish --provider="Laravel\DM1881\DM1881ServiceProvider"