seansch/rapnet
最新稳定版本:v0.2.1
Composer 安装命令:
composer require seansch/rapnet
包简介
Rapnet Price SOAP Wrapper for Laravel 5
README 文档
README
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();
统计信息
- 总下载量: 139
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-05-22