PHPackages                             sportscar03/psgc-database - 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. [Database &amp; ORM](/categories/database)
4. /
5. sportscar03/psgc-database

ActiveLibrary[Database &amp; ORM](/categories/database)

sportscar03/psgc-database
=========================

(Customized) This is a simple CLI tool to easily add Philippine Standard Geographic Code (PSGC) data to your database.

023[4 PRs](https://github.com/sportscar03/psgc-database/pulls)PHPCI passing

Since Oct 13Pushed 1mo agoCompare

[ Source](https://github.com/sportscar03/psgc-database)[ Packagist](https://packagist.org/packages/sportscar03/psgc-database)[ RSS](/packages/sportscar03-psgc-database/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (5)Used By (0)

PSGC Database
=============

[](#psgc-database)

A Laravel package to import the Philippine Standard Geographic Code (PSGC) into your database with optimized structure for **regions**, **provinces**, **cities/municipalities**, and **barangays**.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require sportscar03/psgc-database:dev-main
```

You can publish the config file with:

```
php artisan vendor:publish --tag="psgc-database-config"
```

This will create a config file:

```
