yahaaylabs/gis.ph-sdk-php
PHP SDK for integrating with the GIS Philippines (gis.ph) API. Provides simple client methods to call endpoints, handle authentication, and work with responses, making it easier to add GIS.ph services to PHP/Laravel apps.
Official PHP SDK for api.gis.ph, with first-class support for Laravel.
This SDK requires an Access Token or API Key from gis.ph. You can sign up and retrieve your credentials from your account dashboard.
use GisPh\Client;
$client = new Client(['access_token' => 'YOUR_TOKEN']);
$results = $client->barangays()->search('Manila');
use GisPh\Laravel\Facades\GisPh;
$results = GisPh::barangays()->search('Manila');
To test this SDK locally in another project (e.g., a Laravel application) without publishing it to Packagist:
composer.json, add this repository:
{
"repositories": [
{
"type": "path",
"url": "../gis.ph-sdk-php"
}
]
}
composer require yahaaylabs/gis.ph-sdk-php:dev-main
...
How can I help you explore Laravel packages today?