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
2.0.6
  • Support Symfony 6
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
1.1.0
  • Added parseFile
1.0.1
  • Parser regex improvements
1.0.0
  • First release
What's
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.
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
frankyso/ipaymu
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core