定制 codetyme/postal 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

codetyme/postal

最新稳定版本:1.0.3

Composer 安装命令:

composer require codetyme/postal

包简介

Laravel indian postal code package.

README 文档

README

Laravel indian postal code package.
The term Postal Index Number (PIN) is popularly known as PIN code/Postal Code in India. It is a code in the post office number of the postal code system which is used in India Post for segregating the mails. The PIN code consists of six digits.

Requirements

PHP: ^7.3 or ^8.0
Laravel Framework

Quick Installation

composer require codetyme/postal:"^1.0"

How to use

In your controller

public static function FindByPincode(\Codetyme\Postal\Postal $postal){
    return $postal->pin('400001');
}
public static function FindByPostOffice(\Codetyme\Postal\Postal $postal){
    return $postal->branch('Mumbai');
}

API returns the response in JSON format. Status field in response is set to SUCCESS or ERROR, Message field will return message against the request and PostOffice field will return data.


Thanks

www.postalpincode.in


License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-10-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固