Package Data | |
---|---|
Maintainer Username: | Bloby |
Package Create Date: | 2017-08-02 |
Package Last Update: | 2017-08-03 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-23 03:06:53 |
Package Statistics | |
---|---|
Total Downloads: | 16 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 1 |
Total Forks: | 0 |
Total Open Issues: | 0 |
NOTE: This package is no longer in active development. Feel free to fork and extend it as needed.
A simple Laravel interface for interacting with the Vitelity API.
To install the package, simply add the following to your Laravel installation's composer.json
file:
"require": {
"laravel/framework": "5.*",
"blob/laravel-vitelity": "dev-master"
},
Run composer update
to pull in the files.
Then, add the following Service Provider to your providers
array in your config/app.php
file:
'providers' => [
...
Vitelity\Providers\AddOnsServiceProvider::class,
Vitelity\Providers\BillingServiceProvider::class,
Vitelity\Providers\DIDInventoryServiceProvider::class,
Vitelity\Providers\DIDOrderingServiceProvider::class,
Vitelity\Providers\E911ServiceProvider::class,
Vitelity\Providers\FaxServiceProvider::class,
Vitelity\Providers\LNPServiceProvider::class,
Vitelity\Providers\PlacingCallServiceProvider::class,
Vitelity\Providers\RoutingAndNetworkServiceProvider::class,
Vitelity\Providers\SMSServiceProvider::class,
Vitelity\Providers\TelecomFunctionsServiceProvider::class,
];
From the command-line run:
php artisan vendor:publish
Open config/vitelity.php
and configure the api endpoint and credentials:
return [
// API URL
'url' => 'http://api.vitelity.net/api.php',
// API LOGIN
'login' => 'admin_user',
// API PASSWORD
'password' => 'password123',
];
$DIDs = VitelitySMS::smsdids();