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 1mo ago

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 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

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

1311d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c99e1a228aad99e50b238e247d44b020613371c7b141f49069c8b6532b8f81e1?d=identicon)[codetyme](/maintainers/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

[endroid/qr-code

Endroid QR Code

4.8k67.6M348](/packages/endroid-qr-code)[laminas/laminas-code

Extensions to the PHP Reflection API, static code scanning, and code generation

1.9k185.4M172](/packages/laminas-laminas-code)[nette/php-generator

🐘 Nette PHP Generator: generates neat PHP code for you. Supports new PHP 8.5 features.

2.2k64.2M576](/packages/nette-php-generator)[jetbrains/phpstorm-stubs

PHP runtime &amp; extensions header files for PhpStorm

1.4k27.7M68](/packages/jetbrains-phpstorm-stubs)[scrivo/highlight.php

Server side syntax highlighter that supports 185 languages. It's a PHP port of highlight.js

71040.3M82](/packages/scrivo-highlightphp)[riimu/kit-phpencoder

Highly customizable alternative to var\_export for PHP code generation

717.8M32](/packages/riimu-kit-phpencoder)

PHPackages © 2026

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