PHP code example of chrisreedio / laravel-athena-sdk

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

    

chrisreedio / laravel-athena-sdk example snippets


use ChrisReedIO\AthenaSDK\AthenaConnector;

$athena = new AthenaConnector();

$appointment = $athena->appointments()->get(
    appointmentId: 123456,
);

use ChrisReedIO\AthenaSDK\Facades\Athena;

$providers = Athena::providers();
bash
php artisan vendor:publish --tag="laravel-athena-sdk-config"