PHPackages                             yahaaylabs/gis.ph-sdk-php - 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. [API Development](/categories/api)
4. /
5. yahaaylabs/gis.ph-sdk-php

ActiveLibrary[API Development](/categories/api)

yahaaylabs/gis.ph-sdk-php
=========================

Official PHP SDK for api.gis.ph, with first-class support for Laravel.

v0.1.5(4mo ago)221MITPHPPHP &gt;=8.1

Since Feb 15Pushed 4mo agoCompare

[ Source](https://github.com/YahaayLabs/gis.ph-sdk-php)[ Packagist](https://packagist.org/packages/yahaaylabs/gis.ph-sdk-php)[ RSS](/packages/yahaaylabs-gisph-sdk-php/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (4)Versions (3)Used By (1)

GIS.PH PHP SDK
==============

[](#gisph-php-sdk)

Official PHP SDK for api.gis.ph, with first-class support for Laravel.

Roadmap
-------

[](#roadmap)

### Phase 1: Core SDK

[](#phase-1-core-sdk)

- Basic HTTP client wrapper (Guzzle)
- Configuration management
- Barangay Resource (list, get, search)
- Province Resource (list, get)
- Error handling (structured exceptions)

Authentication
--------------

[](#authentication)

This SDK requires an **Access Token** or **API Key** from [**gis.ph**](https://gis.ph). You can sign up and retrieve your credentials from your account dashboard.

Usage
-----

[](#usage)

### Standard PHP

[](#standard-php)

```
use GisPh\Client;

$client = new Client(['access_token' => 'YOUR_TOKEN']);
$results = $client->barangays()->search('Manila');
```

### Laravel

[](#laravel)

```
use GisPh\Laravel\Facades\GisPh;

$results = GisPh::barangays()->search('Manila');
```

### Phase 2: Laravel Integration

[](#phase-2-laravel-integration)

- Laravel Service Provider
- Configuration publishing
- Facade support
- Automatic authentication injection

### Phase 3: Advanced Features

[](#phase-3-advanced-features)

- Geographical utilities
- Result caching (Laravel cache integration)
- Metadata helpers

Local Development &amp; Testing
-------------------------------

[](#local-development--testing)

To test this SDK locally in another project (e.g., a Laravel application) without publishing it to Packagist:

1. In your **consumer project's** `composer.json`, add this repository: ```
    {
        "repositories": [
            {
                "type": "path",
                "url": "../gis.ph-sdk-php"
            }
        ]
    }
    ```
2. Run the install command: ```
    composer require yahaaylabs/gis.ph-sdk-php:dev-main
    ```

Project Structure
-----------------

[](#project-structure)

...

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance75

Regular maintenance activity

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 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

Every ~0 days

Total

2

Last Release

138d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bb61e07b328ef894264923d2982daefb40a1bb906415b9f7fae6bf329014e497?d=identicon)[gerald](/maintainers/gerald)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/yahaaylabs-gisph-sdk-php/health.svg)

```
[![Health](https://phpackages.com/badges/yahaaylabs-gisph-sdk-php/health.svg)](https://phpackages.com/packages/yahaaylabs-gisph-sdk-php)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5021.9k](/packages/simplestats-io-laravel-client)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[jasara/php-amzn-selling-partner-api

A fluent interface for Amazon's Selling Partner API in PHP

1348.7k1](/packages/jasara-php-amzn-selling-partner-api)

PHPackages © 2026

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