Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Gis.ph Sdk Php Laravel Package

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.

View on GitHub
Deep Wiki
Context7

GIS.PH PHP SDK

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

Roadmap

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

This SDK requires an Access Token or API Key from gis.ph. You can sign up and retrieve your credentials from your account dashboard.

Usage

Standard PHP

use GisPh\Client;

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

Laravel

use GisPh\Laravel\Facades\GisPh;

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

Phase 2: Laravel Integration

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

Phase 3: Advanced Features

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

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

...

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
besmartand-pro/php-quality-config
sentix/ai-chatbot
terminal42/code-quality-tools
codifyo/ts-generator-bundle
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity