PHP code example of gotrex / laravel-voipnow

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

    

gotrex / laravel-voipnow example snippets


use VoipNow;

return VoipNow::GetOrganizationDetails(['identifier' => 'XXX']);

$voipNow = app('voipnow');

return $voipNow->GetOrganizationDetails(['identifier' => 'XXX']);

$table->text('voipnow_access_token')->nullable();
$table->integer('voipnow_expires_in')->nullable();
$table->timestamp('voipnow_expired_at')->nullable();

protected $fillable = [
    'name', 'email', 'password', 'voipnow_access_token', 'voipnow_expires_in', 'voipnow_expired_at'
];
bash
php artisan vendor:publish --provider="Gotrex\VoipNow\VoipNowServiceProvider"