squirephp/squire
A library of static Eloquent models for common fixture data. observed · 2026-08-28
Health v2 · maintenance only
91/100
- Activity 97
- Release rhythm 79
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 89.5
- age_days: 2156
- days_rel: 62
- days_push: 19
- n_releases_24m: 7
Adoption not part of the score
1052 stars · 76 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Squire is a PHP library providing static, read-only Eloquent models for common fixture data such as countries, currencies, airports, airlines, timezones, and regions. It works like any Laravel Eloquent model but is backed by bundled data instead of a database, and supports multiple languages and model relationships.
Use cases
- populate country dropdowns on address forms
- attach airport data to flight models via relationships
- validate user input against a list of countries or currencies
- get currency information and format money in a Laravel app
- query static reference data like timezones and continents with Eloquent syntax
When to choose
- you need common reference data (countries, currencies, airports) in a Laravel app without maintaining your own database tables
- you want Eloquent-style querying and relationships for read-only fixture data
- you need localized names for countries or currencies in multiple languages
When to avoid
- you need writable models or user-generated data persistence
- your app is not built on Laravel or the Eloquent ORM
- you need highly custom or frequently updated reference data not covered by the available models
Facets
library · maturity active
orm data-generation internationalization web-development backend developer-tools php laravel eloquent fixture-data static-models read-only-models validation web-server
1 source
- readme: https://github.com/squirephp/squire · fetched 2026-08-28 · 6ddf31ba9a4f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| squirephp/squire | main | 91 |
For agents
markdown · JSON · MCP: product_card(name="squirephp/squire")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem