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 2026Releases
latest 18-
2.2.614 Jul 2026 -
2.2.509 Apr 2025 -
2.2.407 Mar 2025 -
2.2.313 Mar 2024 -
2.2.214 Feb 2024 -
2.2.105 Jul 2023Release notes
Open source →Fixed
- Fixed a bug that was caused by a null value or a null cast. PR #104
-
2.2.015 May 2023 -
2.1.130 Jan 2023 -
2.1.009 Jun 2022 -
2.0.106 Jun 2022Release notes
Open source →Merge pull request #96 from siamak2/2.x
[2.0.1] Improved getMetaArray method by removing linear search from getMetaArray
Release notes
Open source →Changes
- Improved
getMetaArraymethod by removing linear search fromgetMetaArray
- Improved
-
2.0.005 Jun 2022Release notes
Open source →Added
- Added
setAttributemethod. - Added
hasMetamethod. - Added
hasDefaultMetaValuemethod. - Added ability to disable fluent meta access by setting
$disableFluentMetatotrue.
Changed
- Removed laravel 7 and bellow support.
- Removed
__getmethod. - Removed
__setmethod. - Removed
__issetmethod. - Removed legacy getter.
- Removed
whereMetamethod in favor ofscopeWhereMeta. - Renamed
getMetaDefaultValuemethod togetDefaultMetaValue. - You can now set meta names starting with
meta. - Changed
saveMetamethod's visibility to public. - Changed
getMetaDatamethod'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 ornullif nothing is provided.
Fixed
- Fixed
getMetamethod'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.
- Added
-
1.0.611 Mar 2022Nothing published for this version
-
1.0.514 Feb 2022Nothing published for this version
-
1.0.420 Nov 2021Nothing published for this version
-
1.0.307 Nov 2020Nothing published for this version
-
1.0.231 Oct 2020Nothing published for this version
-
1.0.122 Apr 2020Nothing published for this version
-
1.0.028 Sep 2019Nothing published for this version