PHPackages                             vinkas/singapore-laravel - 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. vinkas/singapore-laravel

ActiveLibrary[API Development](/categories/api)

vinkas/singapore-laravel
========================

Laravel package for Singapore's open data API and regions, areas, and subzones data

v1.2.1(1y ago)040MITPHPCI passing

Since Dec 10Pushed 1y agoCompare

[ Source](https://github.com/singfuse/singapore-laravel)[ Packagist](https://packagist.org/packages/vinkas/singapore-laravel)[ RSS](/packages/vinkas-singapore-laravel/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (5)Versions (5)Used By (0)

singapore-laravel
=================

[](#singapore-laravel)

[![Tests](https://github.com/vinkashq/singapore-laravel/actions/workflows/tests.yml/badge.svg)](https://github.com/vinkashq/singapore-laravel/actions/workflows/tests.yml) [![Packagist Version](https://camo.githubusercontent.com/c8588d150665474cc1523e291846f344d133282bd2cd8c30c9259408d34c3090/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f76696e6b61732f73696e6761706f72652d6c61726176656c3f6c6f676f3d7061636b6167697374266c6f676f436f6c6f723d303030303030266c6162656c3d76657273696f6e266c6162656c436f6c6f723d64396530663326636f6c6f723d663238643161)](https://packagist.org/packages/vinkas/singapore-laravel)

Laravel package for Singapore's open data API  and regions, areas, and subzones data

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

[](#installation)

The package [`vinkas/singapore-laravel`](https://packagist.org/packages/vinkas/singapore-laravel) can be installed using composer via Packagist.

```
composer require vinkas/singapore-laravel

```

Usage
-----

[](#usage)

You can simply call the API endpoints by using the `Singapore` facade.

```
use Vinkas\Singapore\Facade as Singapore;

$response = Singapore::api()->weather()->rainfall();
$data = $response->object()->data;

$stations = $data->stations;
$readings = $data->readings;
```

Also, you can get all the details of Singapore regions, areas, and subzones from the classes below.

```
Singapore::regions();
Singapore::areas();
Singapore::subzones();
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance42

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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 ~12 days

Total

4

Last Release

481d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/75502944bc293e8aa5b6629e8ac575f710c37e7c7b30663538416c520c01487b?d=identicon)[vinothkannans](/maintainers/vinothkannans)

---

Top Contributors

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

---

Tags

laravel-packagesingapore

###  Code Quality

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/vinkas-singapore-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/vinkas-singapore-laravel/health.svg)](https://phpackages.com/packages/vinkas-singapore-laravel)
```

###  Alternatives

[spatie/laravel-query-builder

Easily build Eloquent queries from API requests

4.4k26.9M220](/packages/spatie-laravel-query-builder)[essa/api-tool-kit

set of tools to build an api with laravel

52680.5k](/packages/essa-api-tool-kit)[simplestats-io/laravel-client

Client for SimpleStats!

4515.5k](/packages/simplestats-io-laravel-client)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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