pragmarx/yaml
PragmaRX YAML is a lightweight Laravel and PHP package for parsing and dumping YAML. It wraps Symfony's YAML component with a simple service provider and facade, making it easy to load YAML config or translation files, convert YAML strings to arrays, and export arrays back to YAML.
symfony/yaml. If YAML config is a real requirement, the decision is: adopt a near-zero-cost but unmaintained dependency, or spend 1–2 engineer-days writing and owning a loader. Buying is cheap; the total cost is ownership, not licensing.Consider adoption only if all of these hold:
config:cache behavior works for your use case.Look elsewhere or skip it if:
env()-driven PHP config and config:cache already cover your needs (they do for most Laravel apps).For executives: This is a small utility that lets a Laravel application read configuration from YAML instead of PHP. It adds no user-facing capability and won't move any product metric. Recommendation: don't adopt it as a strategic dependency. It has been unmaintained since 2020, has no downstream dependents, and its one benefit — human-readable config — is largely achievable with Laravel's native configuration and environment variables. If a team wants YAML locally, that's an engineering preference, not a product investment.
For engineering: Treat this as a code sample, not a dependency. If YAML config is genuinely required, budget one to two days to write and own a small loader over symfony/yaml, or vendor/fork this package, rather than adding a 2020-era package to composer.json. If you do adopt it, pin the version, verify Laravel compatibility, add a smoke test covering config:cache, and assign a named owner for maintenance. Otherwise, stay on PHP config — the default is not the problem this package solves.
How can I help you explore Laravel packages today?