Download the PHP package phdevutils/psgc-barangays without Composer
On this page you can find all versions of the php package phdevutils/psgc-barangays. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download phdevutils/psgc-barangays
More information about phdevutils/psgc-barangays
Files in phdevutils/psgc-barangays
Download phdevutils/psgc-barangays
More information about phdevutils/psgc-barangays
Files in phdevutils/psgc-barangays
Vendor phdevutils
Package psgc-barangays
Short Description Complete PSGC barangay dataset for the Philippines (PSA Q4 2024, 42,046 entries) with zero-dependency lookup helpers. Joins to phdevutils/core cities/municipalities.
License MIT
Package psgc-barangays
Short Description Complete PSGC barangay dataset for the Philippines (PSA Q4 2024, 42,046 entries) with zero-dependency lookup helpers. Joins to phdevutils/core cities/municipalities.
License MIT
Please rate this library. Is it a good library?
Informations about the package psgc-barangays
phdevutils/psgc-barangays
The complete PSGC barangay dataset for the Philippines — 42,046 barangays (PSA Q4 2024) — with zero-dependency lookup helpers. Companion to phdevutils/core; every barangay's cityMunCode joins that package's cities/municipalities.
API — PhDevUtils\PsgcBarangays\Barangays
Each barangay is an associative array:
Barangays::list(array $filter = []): array
Filter keys: cityMunCode, province (pass null to match HUC/NCR), region.
Barangays::find(string $code): ?array
Exact match by 9-digit PSGC code (names are not unique).
Barangays::findByName(string $name, array $filter = []): array
Case-insensitive. Always returns a list — names repeat heavily ("Poblacion" 605×, "San Isidro" 296×).
Barangays::count(array $filter = []): int
License
MIT
All versions of psgc-barangays with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.2
The package phdevutils/psgc-barangays contains the following files
Loading the files please wait ...