PHPackages                             codetyme/postal - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. codetyme/postal

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

codetyme/postal
===============

Laravel indian postal code package.

1.0.3(3y ago)021MITPHP

Since Oct 11Pushed 3y ago1 watchersCompare

[ Source](https://github.com/codetyme/postal)[ Packagist](https://packagist.org/packages/codetyme/postal)[ RSS](/packages/codetyme-postal/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Indian Postal Code
==================

[](#indian-postal-code)

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
============

[](#requirements)

[PHP: ^7.3 or ^8.0](https://www.php.net)
[Laravel Framework](https://laravel.com/)

Quick Installation
==================

[](#quick-installation)

```
composer require codetyme/postal:"^1.0"
```

How to use
==========

[](#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
======

[](#thanks)

[www.postalpincode.in](http://www.postalpincode.in/)

License
=======

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/codetyme/postal/blob/master/LICENSE.md) for more information.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1361d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/70581343?v=4)[CodeTyme](/maintainers/codetyme)[@codetyme](https://github.com/codetyme)

---

Top Contributors

[![rohitsuthar](https://avatars.githubusercontent.com/u/6672385?v=4)](https://github.com/rohitsuthar "rohitsuthar (14 commits)")

---

Tags

postalcodezipcodeindianPincodecodetyme

### Embed Badge

![Health badge](/badges/codetyme-postal/health.svg)

```
[![Health](https://phpackages.com/badges/codetyme-postal/health.svg)](https://phpackages.com/packages/codetyme-postal)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[oat-sa/tao-core

TAO core extension

66143.7k122](/packages/oat-sa-tao-core)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
