PHP code example of phuclh / affast-laravel

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

    

phuclh / affast-laravel example snippets


return [
];

$affast-laravel = new Phuclh\Affast();
echo $affast-laravel->echoPhrase('Hello, Spatie!');
bash
php artisan vendor:publish --provider="Phuclh\Affast\AffastServiceProvider" --tag="affast-laravel-migrations"
php artisan migrate
bash
php artisan vendor:publish --provider="Phuclh\Affast\AffastServiceProvider" --tag="affast-laravel-config"