Skip to content

Gwakko/laravel-vitelity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

laravel-vitelity

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.

Installation

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

Configuration

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',
];

Usage

$DIDs = VitelitySMS::smsdids();

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages