theofidry/laravel-yaml
Laravel YAML adds YAML configuration support to Laravel, letting you define app settings in readable .yaml files and load them through Laravel’s config system. It uses Symfony’s YAML parser for reliable parsing of YAML strings and files.
Consider (as a pattern, not a dependency) when:
Look elsewhere when:
config:cache expectations, and PHP 8-era typing are all outside what the release notes cover. Compatibility with current Laravel is unverified and almost certainly broken.-beta.2 release with a one-line changelog does not constitute a maintenance commitment; assess the repo's activity and issue backlog before treating this as alive again.Adoption criteria if you insist: pin the Laravel/PHP versions, vendor the source in-repo, add your own tests around cache/clear behavior, avoid the beta tag in favor of a pinned commit, and treat it as forked code you now maintain.
To executives: This package solves a narrow, low-value problem — letting Laravel read YAML config files instead of PHP ones. The new v1.0.0-beta.2 release only adds Laravel 5.1+ compatibility, which is a nine-year-old framework generation; it is still pre-1.0 and still not a signal that the library is supported. Recommendation unchanged: do not adopt. If YAML config is a real product requirement, it's a small, bounded engineering task we can own outright; the strategic value is in the config format decision, not in this library.
To engineering: It's a service provider that swaps the config loader for a YAML one. The latest release bumps stated compatibility to Laravel 5.1+, which confirms the target audience is legacy 5.x — it does not indicate support for 8/9/10/11/12, config:cache, or PHP 8 typing. Treat it as a reference implementation, not a dependency. The surface area is tiny; reimplementing it against our actual Laravel version is cheaper and safer than carrying a beta package. If we do anything here, it's a short spike to confirm whether YAML config actually improves our ops workflow before we commit to the format.
How can I help you explore Laravel packages today?