spatie/laravel-model-flags
Add flags to Eloquent models
1.5.0
1.3M downloads/mo
#3374 most downloaded on Packagist
spatie/laravel-model-flags
What this package is like to depend on
Last release 4 months ago
17 Apr 2026
Release timing varies
gaps range from 2 weeks to 13 months
Nearly every release is documented
notes for 13 of 13 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
13 releases · first in 2022
2 releases in the last 12 months
see the full history below
Release timeline
13 releases · Oct 2022 to Apr 2026Releases
latest 13-
1.5.017 Apr 2026Release notes
Open source →What's Changed
- Bump dependabot/fetch-metadata from 2.5.0 to 3.0.0 by @dependabot[bot] in #52
- Add support for unflagging an array of flags by @grantholle in #53
Full Changelog: 1.4.2...1.5.0
Release notes
Open source →What's Changed
- Bump dependabot/fetch-metadata from 2.5.0 to 3.0.0 by @dependabot[bot] in https://github.com/spatie/laravel-model-flags/pull/52
- Add support for unflagging an array of flags by @grantholle in https://github.com/spatie/laravel-model-flags/pull/53
Full Changelog: https://github.com/spatie/laravel-model-flags/compare/1.4.2...1.5.0
-
1.4.227 Feb 2026 -
1.4.121 Feb 2025Release notes
Open source →What's Changed
- Bump dependabot/fetch-metadata from 2.2.0 to 2.3.0 by @dependabot in #37
- Bump aglipanci/laravel-pint-action from 2.4 to 2.5 by @dependabot in #39
- Laravel 12.x Compatibility by @laravel-shift in #40
Full Changelog: 1.4.0...1.4.1
Release notes
Open source →What's Changed
- Bump dependabot/fetch-metadata from 2.2.0 to 2.3.0 by @dependabot in https://github.com/spatie/laravel-model-flags/pull/37
- Bump aglipanci/laravel-pint-action from 2.4 to 2.5 by @dependabot in https://github.com/spatie/laravel-model-flags/pull/39
- Laravel 12.x Compatibility by @laravel-shift in https://github.com/spatie/laravel-model-flags/pull/40
Full Changelog: https://github.com/spatie/laravel-model-flags/compare/1.4.0...1.4.1
-
1.4.023 Dec 2024Release notes
Open source →What's Changed
- Bump stefanzweifel/git-auto-commit-action from 4 to 5 by @dependabot in #26
- Bump dependabot/fetch-metadata from 1.6.0 to 2.0.0 by @dependabot in #29
- Bump aglipanci/laravel-pint-action from 2.3.1 to 2.4 by @dependabot in #30
- Bump dependabot/fetch-metadata from 2.0.0 to 2.1.0 by @dependabot in #31
- Bump dependabot/fetch-metadata from 2.1.0 to 2.2.0 by @dependabot in #32
- add string type to flag function by @ricventu in #33
- Add enum support for flags by @grantholle in #34
New Contributors
- @ricventu made their first contribution in #33
- @grantholle made their first contribution in #34
Full Changelog: 1.3.0...1.4.0
Release notes
Open source →What's Changed
- Bump stefanzweifel/git-auto-commit-action from 4 to 5 by @dependabot in https://github.com/spatie/laravel-model-flags/pull/26
- Bump dependabot/fetch-metadata from 1.6.0 to 2.0.0 by @dependabot in https://github.com/spatie/laravel-model-flags/pull/29
- Bump aglipanci/laravel-pint-action from 2.3.1 to 2.4 by @dependabot in https://github.com/spatie/laravel-model-flags/pull/30
- Bump dependabot/fetch-metadata from 2.0.0 to 2.1.0 by @dependabot in https://github.com/spatie/laravel-model-flags/pull/31
- Bump dependabot/fetch-metadata from 2.1.0 to 2.2.0 by @dependabot in https://github.com/spatie/laravel-model-flags/pull/32
- add string type to flag function by @ricventu in https://github.com/spatie/laravel-model-flags/pull/33
- Add enum support for flags by @grantholle in https://github.com/spatie/laravel-model-flags/pull/34
New Contributors
- @ricventu made their first contribution in https://github.com/spatie/laravel-model-flags/pull/33
- @grantholle made their first contribution in https://github.com/spatie/laravel-model-flags/pull/34
Full Changelog: https://github.com/spatie/laravel-model-flags/compare/1.3.0...1.4.0
-
1.3.004 Mar 2024Release notes
Open source →What's Changed
- Laravel 11.x Compatibility by @laravel-shift in #28
- Fixing the CONTRIBUTING.MD link in README.md by @raksbisht in #18
New Contributors
- @raksbisht made their first contribution in #18
- @laravel-shift made their first contribution in #28
Full Changelog: 1.2.0...1.3.0
Release notes
Open source →What's Changed
- Laravel 11.x Compatibility by @laravel-shift in https://github.com/spatie/laravel-model-flags/pull/28
- Fixing the CONTRIBUTING.MD link in README.md by @raksbisht in https://github.com/spatie/laravel-model-flags/pull/18
New Contributors
- @raksbisht made their first contribution in https://github.com/spatie/laravel-model-flags/pull/18
- @laravel-shift made their first contribution in https://github.com/spatie/laravel-model-flags/pull/28
Full Changelog: https://github.com/spatie/laravel-model-flags/compare/1.2.0...1.3.0
-
1.2.010 Feb 2023Release notes
Open source →- add
lastFlaggedAt
Full Changelog: https://github.com/spatie/laravel-model-flags/compare/1.1.2...1.2.0
- add
-
1.1.210 Feb 2023Release notes
Open source →- add
lastFlaggedAt
What's Changed
- Bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 by @dependabot in #16
Full Changelog: 1.1.1...1.1.2
Release notes
Open source →- add
lastFlaggedAt
What's Changed
- Bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 by @dependabot in https://github.com/spatie/laravel-model-flags/pull/16
Full Changelog: https://github.com/spatie/laravel-model-flags/compare/1.1.1...1.1.2
- add
-
1.1.125 Jan 2023Release notes
Open source →What's Changed
- Bump aglipanci/laravel-pint-action from 1.0.0 to 2.1.0 by @dependabot in #15
Full Changelog: 1.1.0...1.1.1
Release notes
Open source →What's Changed
- Bump aglipanci/laravel-pint-action from 1.0.0 to 2.1.0 by @dependabot in https://github.com/spatie/laravel-model-flags/pull/15
Full Changelog: https://github.com/spatie/laravel-model-flags/compare/1.1.0...1.1.1
-
1.1.009 Nov 2022Release notes
Open source →What's Changed
- Bump dependabot/fetch-metadata from 1.3.4 to 1.3.5 by @dependabot in #9
- Remove flags on model delete by @stfndamjanovic in #10
New Contributors
- @dependabot made their first contribution in #9
- @stfndamjanovic made their first contribution in #10
Full Changelog: 1.0.1...1.1.0
Release notes
Open source →What's Changed
- Bump dependabot/fetch-metadata from 1.3.4 to 1.3.5 by @dependabot in https://github.com/spatie/laravel-model-flags/pull/9
- Remove flags on model delete by @stfndamjanovic in https://github.com/spatie/laravel-model-flags/pull/10
New Contributors
- @dependabot made their first contribution in https://github.com/spatie/laravel-model-flags/pull/9
- @stfndamjanovic made their first contribution in https://github.com/spatie/laravel-model-flags/pull/10
Full Changelog: https://github.com/spatie/laravel-model-flags/compare/1.0.1...1.1.0
-
1.0.124 Oct 2022Release notes
Open source →What's Changed
- Remove
phpstanreferences. by @xiCO2k in #2 - Add brand new logo to the project by @caneco in #5
- Add Support for PHP8.0 by @jafar-albadarneh in #6
New Contributors
- @xiCO2k made their first contribution in #2
- @caneco made their first contribution in #5
- @jafar-albadarneh made their first contribution in #6
Full Changelog: 1.0.0...1.0.1
Release notes
Open source →What's Changed
- Remove
phpstanreferences. by @xiCO2k in https://github.com/spatie/laravel-model-flags/pull/2 - Add brand new logo to the project by @caneco in https://github.com/spatie/laravel-model-flags/pull/5
- Add Support for PHP8.0 by @jafar-albadarneh in https://github.com/spatie/laravel-model-flags/pull/6
New Contributors
- @xiCO2k made their first contribution in https://github.com/spatie/laravel-model-flags/pull/2
- @caneco made their first contribution in https://github.com/spatie/laravel-model-flags/pull/5
- @jafar-albadarneh made their first contribution in https://github.com/spatie/laravel-model-flags/pull/6
Full Changelog: https://github.com/spatie/laravel-model-flags/compare/1.0.0...1.0.1
- Remove
-
1.0.021 Oct 2022 -
0.0.221 Oct 2022Release notes
Open source →Full Changelog: https://github.com/spatie/laravel-model-flags/compare/0.0.1...0.0.2
-
0.0.120 Oct 2022