spatie/laravel-settings
Store strongly typed application settings observed · 2026-08-28
Health v2 · maintenance only
86/100
- Activity 89
- Release rhythm 74
- 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: 34
- age_days: 2282
- days_rel: 99
- days_push: 68
- n_releases_24m: 14
Adoption not part of the score
1512 stars · 140 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Laravel package by Spatie for storing strongly typed application settings in a repository such as a database or Redis. Settings are defined as typed PHP classes that can be injected anywhere via Laravel's container.
Use cases
- store strongly typed application settings in Laravel
- persist site configuration like site name and active flag in a database
- inject settings classes into controllers via the service container
- manage app configuration with DTO-style settings classes
- save and update settings from a form request
- back settings with Redis or other repositories
When to choose
- you're building a Laravel app and need persistent, typed settings
- you want settings accessible via dependency injection
- you need settings stored in a database or Redis rather than config files
When to avoid
- you only need static config files with no runtime changes
- you're not using Laravel
- you need user-specific per-account preferences rather than app-wide settings
Facets
library · maturity stable
configuration-management orm caching web-development backend developer-tools php laravel-package settings typed-settings dto spatie laravel web-server
1 source
- readme: https://github.com/spatie/laravel-settings · fetched 2026-08-28 · e37a6e45e504
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| spatie/laravel-settings | main | 86 |
For agents
markdown · JSON · MCP: product_card(name="spatie/laravel-settings")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem