PHP code example of xzxzyzyz / laravel-conoha-api

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

    

xzxzyzyz / laravel-conoha-api example snippets


    'providers' => [

        ...
        Xzxzyzyz\ConohaAPI\Providers\ConohaServiceProvider::class,
        Xzxzyzyz\ConohaAPI\Providers\RouteServiceProvider::class,

    ],
    
    ...
    
    'aliases' => [
    
        ...
        'Conoha' => Xzxzyzyz\ConohaAPI\Facade\Conoha::class,
    ],



return [
    'service_id' => env('CONOHA_SERVICE_ID'),
    'tenant_id' => env('CONOHA_TENANT_ID'),
    'username' => env('CONOHA_API_USERNAME'),
    'password' => env('CONOHA_API_PASSWORD'),

    'domain' => [
        'ignore_origin' => true
    ],

    'email' => [
        'auto_password' => true
    ]
];