PackageTrack
Sign in Get early access

spatie/yaml-front-matter

A to the point yaml front matter parser

2.1.1 2.2M downloads/mo #2616 most downloaded on Packagist spatie/yaml-front-matter

What this package is like to depend on

Last release 9 months ago

24 Nov 2025

Release timing varies

gaps range from 8 days to 2.1 years

Nearly every release is documented

notes for 15 of 15 stable releases

Nothing withdrawn

no release was ever pulled

11 years old

17 releases · first in 2016

1 release in the last 12 months

see the full history below

Release timeline

17 releases · Jan 2016 to Nov 2025
2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 17
  1. 2.1.1 24 Nov 2025
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 2.1.0...2.1.1

    Open source →
    Release notes

    What's Changed

    • Update issue template by @AlexVanderbist in https://github.com/spatie/yaml-front-matter/pull/44
    • Added Symfony 8 support to all symfony/* packages. by @thecaliskan in https://github.com/spatie/yaml-front-matter/pull/46

    New Contributors

    • @thecaliskan made their first contribution in https://github.com/spatie/yaml-front-matter/pull/46

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

    Open source →
  2. 2.1.0 02 Dec 2024
    Release notes

    What's Changed

    • PHP 8.4 support by @brendt in #42
    • Drop PHP 7 support

    New Contributors

    Full Changelog: 2.0.9...2.1.0

    Open source →
    Release notes

    What's Changed

    • PHP 8.4 support by @brendt in https://github.com/spatie/yaml-front-matter/pull/42
    • Drop PHP 7 support

    New Contributors

    • @brendt made their first contribution in https://github.com/spatie/yaml-front-matter/pull/42

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

    Open source →
  3. 2.0.9 13 Jun 2024
    Release notes

    What's Changed

    • Check if the array key is set before trying to trim it by @caendesilva in #41

    Full Changelog: 2.0.8...2.0.9

    Open source →
    Release notes

    What's Changed

    • Check if the array key is set before trying to trim it by @caendesilva in https://github.com/spatie/yaml-front-matter/pull/41

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

    Open source →
  4. 2.0.8 04 Dec 2023
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 2.0.7...2.0.8

    Open source →
    Release notes

    What's Changed

    • Add PHP 8.2 Support by @patinthehat in https://github.com/spatie/yaml-front-matter/pull/39
    • Support Symfony 7 by @RobinDev in https://github.com/spatie/yaml-front-matter/pull/40

    New Contributors

    • @RobinDev made their first contribution in https://github.com/spatie/yaml-front-matter/pull/40

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

    Open source →
  5. 2.0.7 06 Apr 2022
    Release notes

    What's Changed

    • Fix #30, bug where the package cannot properly parse a file that contains Markdown code blocks with front matter in them by @caendesilva in #38

    New Contributors

    Full Changelog: 2.0.6...2.0.7

    Open source →
  6. 2.0.6 22 Dec 2021
    Release notes
    • Support Symfony 6

    Full Changelog: 2.0.5...2.0.6

    Open source →
    Release notes
    • Support Symfony 6

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

    Open source →
  7. 2.0.5 02 Dec 2019
    Release notes
    • Allow Symfony 5 (#20)
    Open source →
    Release notes
    • Allow Symfony 5 (#20)
    Open source →
  8. 2.0.4 12 Sep 2019
    Release notes
    • Remove illuminate/support dependency
    Open source →
    Release notes
    • Remove illuminate/support dependency
    Open source →
  9. 2.0.3 04 Sep 2019
    Release notes
    • Allow illuminate/support:^6.0
    Open source →
    Release notes
    • Allow illuminate/support:^6.0
    Open source →
  10. 2.0.2 23 Feb 2018
    Release notes
    • Fix for documents with no newline after front matter
    Open source →
    Release notes
    • Fix for documents with no newline after front matter
    Open source →
  11. 2.0.1 04 Sep 2017
    Release notes
    • Fix for documents with empty front matter
    Open source →
  12. 2.0.0 21 Aug 2017
    Release notes
    • Renamed Parser class to YamlFrontMatter
    • parse and parseFile are now static methods
    • Document now has a __get implementation for retrieving front matter
    Open source →
  13. 2.0.0-rc.2 21 Aug 2017 pre-release

    Nothing published for this version

  14. 2.0.0-rc.1 21 Aug 2017 pre-release

    Nothing published for this version

  15. 1.1.0 12 Jul 2017
    Release notes
    • Added parseFile
    Open source →
  16. 1.0.1 27 Jan 2016
    Release notes
    • Parser regex improvements
    Open source →
  17. 1.0.0 14 Jan 2016
    Release notes
    • First release
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive