seansch/rapnet 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-05-22