Download the PHP package fabwebstudio/webline without Composer
On this page you can find all versions of the php package fabwebstudio/webline. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download fabwebstudio/webline
More information about fabwebstudio/webline
Files in fabwebstudio/webline
Download fabwebstudio/webline
More information about fabwebstudio/webline
Files in fabwebstudio/webline
Vendor fabwebstudio
Package webline
Short Description Insurance data collector, webline wrapper package for laravel
License MIT
Package webline
Short Description Insurance data collector, webline wrapper package for laravel
License MIT
Please rate this library. Is it a good library?
Informations about the package webline
webline
Laravel wrapper for webline
Installation
Add the following to your require block in composer.json
"fabwebstudio/webline":"1.*"
Configuration
Add to your 'config/app.php' (Laravel 5) the service provider:
'providers' => [ // other service providers Fabwebstudio\Webline\WeblineServiceProvider::class, ],
'aliases' => [ 'Webline' => Fabwebstudio\Webline\Facade\Webline::class, ],
Publish vendor
php artisan vendor:publish
Next you can modify the generated configuration file webline.php accordingly.
Usage
Create object of webline classe to call the api
$Webline = new Webline(); // Get token from webline $token = $Webline->generateToken(); // Lead data $lead_data = [ 'title' => '', 'forename' => '', 'surname' => '', 'dob' => '', 'sex' => '', 'smoker' => '', 'earnings' => '', 'term' => '', 'benefit' => '', 'frequency' => '', 'prottype' => '', 'coverbasis' => '', ] // Partner data $partner_data = [ 'ptnr_title' => '', 'ptnr_forename' => '', 'ptnr_surname' => '', 'ptnr_dob' => '', 'ptnr_sex' => '', 'ptnr_smoker' => '', ] $lead_data = array_merge($lead_data,$partner_data); $Webline->quoteReference( $lead_data ); $quote_data = $Webline->retrieveQuoteCommand();
All versions of webline with dependencies
PHP Build Version
Package Version
No informations.
The package fabwebstudio/webline contains the following files
Loading the files please wait ....