PHP code example of justbetter / laravel-exact-client

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

    

justbetter / laravel-exact-client example snippets


$schedule->command(\JustBetter\ExactClient\Commands\RefreshTokenCommand::class, [
    'connection' => 'default',
])->weekly();

use JustBetter\ExactClient\Jobs\Middleware\RateLimitMiddleware;

public function middleware(): array
{
    return [
        RateLimitMiddleware::division('default'),
    ];
}
bash
php artisan vendor:publish --provider="JustBetter\ExactClient\ServiceProvider" --tag=config
bash
php artisan migrate
bash
php artisan exact:list-divisions default