PHPackages                             low-blow/mcpro - 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. low-blow/mcpro

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

low-blow/mcpro
==============

Municipalities, Cities and Provinces package for the Russia.

1.1.1(4y ago)05MITPHP

Since Jul 8Pushed 4y agoCompare

[ Source](https://github.com/low-blow/mcpro)[ Packagist](https://packagist.org/packages/low-blow/mcpro)[ RSS](/packages/low-blow-mcpro/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (8)Used By (0)

MCPro is abbreviation of Municipalities, Cities and Provinces in the Russia.
----------------------------------------------------------------------------

[](#mcpro-is-abbreviation-of-municipalities-cities-and-provinces-in-the-russia)

### (Package forked from jsdecena/MCPro - Jeff Simons Decena )

[](#package-forked-from-jsdecenamcpro---jeff-simons-decena-)

### A basic RESTful API for getting all the cities, municipality and provinces in the Russia.

[](#a-basic-restful-api-for-getting-all-the-cities-municipality-and-provinces-in-the-russia)

### Installation

[](#installation)

- Step1: Add this to your root `composer.json`

```
	"require": {
	    "low-blow/mcpro": "1.1.*"
	}
```

- Step2: Add this to your `config/app.php` in `providers` array

```
	'providers' => [
	    LowBlow\MCPro\McproServiceProvider::class,
	]
```

- Step3: Run this in your terminal `php artisan vendor:publish`
- Step4: Rename `.env.example` to `.env` and set your database credentials
- Step5: Run this in your terminal `php artisan key:generate`
- Step6: Add these lines in the `/database/seeds/DatabaseSeeder.php`

```
    $this->call('CountryTableSeeder');
    $this->call('ProvincesTableSeeder');
    $this->call('CitiesTableSeeder');
    $this->call('BarangayTableSeeder');
```

- Step7: Run this in your terminal `composer dump-autoload && php artisan migrate --seed && php artisan serve`
- Step8: Go to
- Enjoy!

### Endpoints

[](#endpoints)

- `/api/v1/country` - List all the countries
- `/api/v1/country/{country_id}` - Details of the country ( PH is id:169 )
- `/api/v1/country/{country_id}/province` - List all the provinces of the country (Currently for the PH)
- `/api/v1/country/{country_id}/province/{province_id}` - Details of the province
- `/api/v1/country/{country_id}/province/{province_id}/city` - Cities ( and Municipalities) of the province
- `/api/v1/country/{country_id}/province/{province_id}/city/{city_id}` - Details of the city
- `/api/v1/country/{country_id}/province/{province_id}/city/{city_id}/barangay` - List all the barangays of the City (or Municipality)

### Future

[](#future)

- Reverse lookup - Giving the `city_id` and shows the `province` and the country etc.
- 404 Exception handling

### Credits:

[](#credits)

- Jeff Simons Decena for a basic package (Cities of the Philippines).

### DISCLAIMER

[](#disclaimer)

> The data is offered FOR FREE and anybody can use at their own risk. The data is offered AS IS. While I will strive to keep this data up to date, I do not claim that this is a comprehensive listing and some data may be outdated or missing. I will not be held liable for any inaccuracies or errors found in the data. I am not responsible for final end-user utilization of this data and any damages the user might incur in its use.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 61.5% 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

Every ~339 days

Recently: every ~509 days

Total

7

Last Release

1565d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d2f306f9a3e74d33582c9bc210ead1162fc77e53da6a7ec6c1de0543bb80dd8f?d=identicon)[low-blow](/maintainers/low-blow)

---

Top Contributors

[![jsdecena](https://avatars.githubusercontent.com/u/2285625?v=4)](https://github.com/jsdecena "jsdecena (8 commits)")[![low-blow](https://avatars.githubusercontent.com/u/64752070?v=4)](https://github.com/low-blow "low-blow (5 commits)")

### Embed Badge

![Health badge](/badges/low-blow-mcpro/health.svg)

```
[![Health](https://phpackages.com/badges/low-blow-mcpro/health.svg)](https://phpackages.com/packages/low-blow-mcpro)
```

###  Alternatives

[webimpress/composer-extra-dependency

Composer plugin to require extra dependencies

11701.7k1](/packages/webimpress-composer-extra-dependency)[lidongyooo/laravel-idempotent

laravel idempotent

132.2k](/packages/lidongyooo-laravel-idempotent)

PHPackages © 2026

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