PHP code example of laraverse / atlas

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

    

laraverse / atlas example snippets


return [
    // ...
    Laraverse\Atlas\AtlasServiceProvider::class
];

use Illuminate\Support\Collection;
use Laraverse\Atlas\Client;

class YourClass
{
    public function call(Client $client) : Collection
    {
        // Start using Atlas client.
        $client->getCurrencies();
    }
}
bash
php artisan vendor:publish --provider="Laraverse\Atlas\AtlasServiceProvider"