bhavinjr/laravel-postal 问题修复 & 功能扩展

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

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

bhavinjr/laravel-postal

Composer 安装命令:

composer require bhavinjr/laravel-postal

包简介

Retrive the indian post office details based on pincode

README 文档

README

A simple postal to get details of Post Office by searching Postal PIN Code or Post Office Branch Name of India for Laravel 5.|6.|7.|8.

Latest Stable Version Total Downloads License

Installation

First, you'll need to install the package via Composer:

$ composer require bhavinjr/laravel-postal

If you are don't use using Laravel 5.5.* Then, update config/app.php by adding an entry for the service provider.

'providers' => [
    // ...
    Bhavinjr\Postal\Providers\PostalServiceProvider::class,
];

'aliases' => [
    //...
    "Postal": "Bhavinjr\Postal\Facades\Postal",
];

Usage

The package gives you the following methods to use:

Get Post Office(s) details search by Postal PIN Code

Postal::findByCode()

use Postal;

Postal::findByCode(380001);

Postal::findByBranch()

Get Post Office(s) details search by Post Office branch name

use Postal;

Postal::findByBranch('Ahmedabad');

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-07-02

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固