PHP code example of codebar-ag / laravel-microsoft-azure

1. Go to this page and download the library: Download codebar-ag/laravel-microsoft-azure 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/ */

    

codebar-ag / laravel-microsoft-azure example snippets


use CodebarAg\MicrosoftAzure\Facades\Azure;

Azure::instance()->resourceGroups($subscriptionId)->list();
Azure::instance()->vault('my-keyvault')->secrets()->get('my-secret');

Azure::instance()->vault('my-kv')->secrets()->set('webhook-token', $token);
Azure::instance()->foundry('my-aif', 'my-prj')->responses()->create(['model' => 'gpt-5-mini', 'input' => 'Hello']);