PackageTrack
Sign in Get early access

kodeine/laravel-meta

Fluent Meta Data for Eloquent Models, as if it is a property on your model.

2.2.6 896K downloads/mo #4881 most downloaded on Packagist kodeine/laravel-meta

What this package is like to depend on

Last release 1 months ago

14 Jul 2026

Release timing varies

gaps range from 4 weeks to 1.3 years

Most releases are documented

notes for 11 of 18 stable releases

Nothing withdrawn

no release was ever pulled

7 years old

18 releases · first in 2019

1 release in the last 12 months

see the full history below

Release timeline

18 releases · Sep 2019 to Jul 2026
2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 18
  1. 2.2.6 14 Jul 2026
    Release notes

    Added

    • Added Laravel 13.x Compatibility
    Open source →
  2. 2.2.5 09 Apr 2025
    Release notes

    Added

    • Added getAttributeRaw and setAttributeRaw methods
    Open source →
  3. 2.2.4 07 Mar 2025
    Release notes

    Added

    • Added Laravel 12.x Compatibility
    Open source →
  4. 2.2.3 13 Mar 2024
    Release notes

    Added

    • Added Laravel 11.x Compatibility
    Open source →
  5. 2.2.2 14 Feb 2024
    Release notes

    Added

    • Added optional operator to whereMeta scope
    Open source →
  6. 2.2.1 05 Jul 2023
    Release notes

    Fixed

    • Fixed a bug that was caused by a null value or a null cast. PR #104
    Open source →
  7. 2.2.0 15 May 2023
    Release notes

    Added

    • Added createdWithMetas, updatedWithMetas, savedWithMetas events.
    Open source →
  8. 2.1.1 30 Jan 2023
    Release notes

    Added

    • Added Laravel 10.x Compatibility.
    Open source →
  9. 2.1.0 09 Jun 2022
    Release notes

    Added

    • Added events for metas.
    • Added isMetaDirty method.
    Open source →
  10. 2.0.1 06 Jun 2022
    Release notes

    Merge pull request #96 from siamak2/2.x

    [2.0.1] Improved getMetaArray method by removing linear search from getMetaArray

    Open source →
    Release notes

    Changes

    • Improved getMetaArray method by removing linear search from getMetaArray
    Open source →
  11. 2.0.0 05 Jun 2022
    Release notes

    Added

    • Added setAttribute method.
    • Added hasMeta method.
    • Added hasDefaultMetaValue method.
    • Added ability to disable fluent meta access by setting $disableFluentMeta to true.

    Changed

    • Removed laravel 7 and bellow support.
    • Removed __get method.
    • Removed __set method.
    • Removed __isset method.
    • Removed legacy getter.
    • Removed whereMeta method in favor of scopeWhereMeta.
    • Renamed getMetaDefaultValue method to getDefaultMetaValue.
    • You can now set meta names starting with meta.
    • Changed saveMeta method's visibility to public.
    • Changed getMetaData method's visibility to public.
    • Fluent setter will now check for any cast or mutator.
    • Passing an array to getMeta() will now return a Collection with all the requested metas, even if they don't exist. non-existent metas value would be based on second parameter or null if nothing is provided.

    Fixed

    • Fixed getMeta method's second parameter.
    • Fixed duplicate queries executed when retrieving the models stored as meta.
    • Fixed fluent getter treating relations as meta when the result is null.
    Open source →
  12. 1.0.6 11 Mar 2022

    Nothing published for this version

  13. 1.0.5 14 Feb 2022

    Nothing published for this version

  14. 1.0.4 20 Nov 2021

    Nothing published for this version

  15. 1.0.3 07 Nov 2020

    Nothing published for this version

  16. 1.0.2 31 Oct 2020

    Nothing published for this version

  17. 1.0.1 22 Apr 2020

    Nothing published for this version

  18. 1.0.0 28 Sep 2019

    Nothing published for this version

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