承接 masbenx/ongkir 相关项目开发

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

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

masbenx/ongkir

Composer 安装命令:

composer require masbenx/ongkir

包简介

ongkir.info API php parser

README 文档

README

L4-Ongkir is a laravel 4 wrapper package for http://ongkir.info API.

This package is inspired from the package Laravel-4-sis-JNE-owned totox777 which can be downloaded at https://github.com/totox777/Laravel-4-Ongkir-JNE/

Due to the package, there are several coding formats that do not fit with the style of my own so I made this package

Along with the change of the API in ongkir.info, this package will continue I developed in keeping with the format of the API ongkir.info

Version

0.3

Installation

add this line to your composer.json and update your composer

{
    "require": {
        "masbenx/ongkir": "*"
    }
}

This package is compatible with Laravel 4 (but not limited to). If Laravel is detected, the language library from Laravel will be used instead of an own implementation.

Add the service provider in app/config/app.php:

'Masbenx\Ongkir\OngkirServiceProvider'

Publish the config

$ php artisan config:publish masbenx/ongkir
Config your API-Key in app/config/package/masbenx/ongkir/config.php
return array(
    'API-Key' => 'your-api-key'
);

How To Use

get courier cost

$result = Ongkir::getCost('YOGYAKARTA','JAKARTA PUSAT',1);

License

BSD-2-Clause

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-2-Clause
  • 更新时间: 2014-11-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固