Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Yaml Front Matter Laravel Package

spatie/yaml-front-matter

Parse YAML front matter from Markdown and similar files. Reads metadata wrapped in --- at the top and returns an object with easy access to fields (via matter() or properties) plus the remaining body content. Ideal for static pages, docs, and blogs.

View on GitHub
Deep Wiki
Context7
2.1.1

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/yaml-front-matter/compare/2.1.0...2.1.1

2.1.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/yaml-front-matter/compare/2.0.9...2.1.0

2.0.9

What's Changed

Full Changelog: https://github.com/spatie/yaml-front-matter/compare/2.0.8...2.0.9

2.0.7

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/yaml-front-matter/compare/2.0.6...2.0.7

2.0.5
  • Allow Symfony 5 (#20)
2.0.4
  • Remove illuminate/support dependency
2.0.3
  • Allow illuminate/support:^6.0
2.0.2
  • Fix for documents with no newline after front matter
2.0.1
  • Fix for documents with empty front matter
2.0.0
  • Renamed Parser class to YamlFrontMatter
  • parse and parseFile are now static methods
  • Document now has a __get implementation for retrieving front matter
2.0.0-rc.2
2.0.0-rc.1
1.1.0
  • Added parseFile
1.0.1
  • Parser regex improvements
1.0.0
  • First release
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator