seansch/rapnet

Rapnet Price SOAP Wrapper for Laravel 5
142 1
Install
composer require seansch/rapnet
Latest Version:v0.2.1
PHP:>=5.4.0
License:MIT
Last Updated:Apr 5, 2016
Links: GitHub  ·  Packagist
Maintainer: seansch

Rapnet Price SOAP Wrapper

Installation

First, pull in the package through Composer.

"require": {
    "seansch/rapnet": "dev-master"
}

And then, if using Laravel 5, include the service provider within app/config/app.php.

'providers' => [
    'Seansch\Rapnet\RapnetServiceProvider'
];

And, for convenience, add a facade alias to this same file at the bottom:

'aliases' => [
    'Rapnet' => 'Seansch\Rapnet\RapnetFacade'
];

Publish the config file app/config/rapnet.php and edit with your details

php artisan vendor:publish

Usage

Rapnet::setDiamondParams(
    $request->input('diamond_shape'),
    $request->input('carat_weight'),
    $request->input('diamond_color'),
    $request->input('estimated_clarity')
);

$price = Rapnet::getPrice();

Related Packages

erirk/paypalpayment

laravel-paypalpayment is simple package help you process direct credit card paym...

0
gabrieloliverio/laravel5-generators

Database metadata-based generators for Laravel 5

1
doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

625,281,324 9,703
laravel/framework

The Laravel Framework.

572,249,171 34,893
laravel/tinker

Powerful REPL for the Laravel framework.

481,927,243 7,441