承接 bcscoder/rajaongkir 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

bcscoder/rajaongkir

Composer 安装命令:

composer require bcscoder/rajaongkir

包简介

Laravel + rajaongkir API.

README 文档

README

Laravel + Rajaongkir API

Intallation

via composer

"require-dev": {
    "bcscoder/rajaongkir": "dev-master"
}

Once this operation completes, the final step is to add the service provider. Open app/config/app.php, and add a new item to the providers array.

'Bcscoder\Rajaongkir\RajaongkirServiceProvider'

After that add new item to alias array in app.php

'RajaOngkir' => 'Bcscoder\Rajaongkir\Facades\Profiler',

Example to use

Get City

$rs = RajaOngkir::getCity();

//that will show all the city

Get Cost

//$weight in gram

$results = RajaOngkir::getCost($origin_city_id,$destination_city_id,$weight,$courier);

tips

You can cache the get city result so it should not make request to server every time you want get the cost from your courier

For more api documentation please Visit rajaongkir

统计信息

  • 总下载量: 83
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: BSD-2-Clause
  • 更新时间: 2014-08-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固