dyrynda/laravel-model-uuid
This package allows you to easily work with UUIDs in your Laravel models.
8.3.0
3.2M downloads/mo
#2637 most downloaded on Packagist
michaeldyrynda/laravel-model-uuid
What this package is like to depend on
Last release 5 months ago
19 Mar 2026
Ships fairly regularly
a new release about every 5 months
Some releases are documented
notes for 9 of 36 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
38 releases · first in 2017
1 release in the last 12 months
see the full history below
Release timeline
36 releases · Mar 2017 to Mar 2026Releases
latest 38-
8.3.019 Mar 2026Release notes
Open source →What's Changed
- Feature: Configurable UUID version by @zagreusinoz in #142
- Laravel 13.x Compatibility by @laravel-shift in #145
- Add binary UUID relationship support by @abkrim in #143
- Add MariaDB support by @yeganemehr in #144
New Contributors
- @zagreusinoz made their first contribution in #142
- @abkrim made their first contribution in #143
- @yeganemehr made their first contribution in #144
Full Changelog: 8.2.0...8.3.0
-
8.2.026 Feb 2025Release notes
Open source →Note that the minimum version for this package is now Laravel 12.x, however, PHP >= 8.2 is still supported.
This is due to some changes in the way that database connections/grammar operate at the framework level, meaning the tests won't run in a consistent way between 11.x and 12.x
What's Changed
- Add support for
excludingspecific UUID(s) in query builder by @mostafaznv in #138 - Laravel 12.x Compatibility by @laravel-shift in #140
- docs: include
whereNotUuidin the documentation by @mostafaznv in #139
New Contributors
- @mostafaznv made their first contribution in #138
Full Changelog: 8.1.1...8.2.0
- Add support for
-
8.1.107 Aug 2024Release notes
Open source →- Pin
laravel/pintversion to stop CI breaking when a new version is released. - Updates workflow configuration to use updated actions and cache
Full Changelog: 8.1.0...8.1.1
- Pin
-
8.1.014 Jul 2024Release notes
Open source →Updates minimum PHP version to 8.2 and Laravel version to 11.15, addressing recent changes in laravel/framework#51373
-
8.0.019 Mar 2024Release notes
Open source →Adds support for Laravel 11.x and combines functionality previously provided by dyrynda/laravel-efficient-uuid.
-
8.0.0-beta.1no date pre-releaseRelease notes
Open source →What's Changed
- Laravel 11.x Compatibility by @laravel-shift in #129
- Feature: Migrate efficient UUID support by @michaeldyrynda in #130
This version adds support for Laravel 11, and combines functionality previously available in laravel-efficient-uuid.
As a standalone package,
laravel-efficient-uuidwas a cyclic dependency onlaravel-model-uuid, which made maintenance of the two packages tricky. The new functionality is, however, opt-in, so you can continue without this if you choose to.Full Changelog: 7.1.1...8.0.0-beta.1
-
7.1.114 Sep 2023 -
7.1.013 Sep 2023Release notes
Open source →- Adds support for UUIDv7 (@atymic) #124
- Adds support for configuring default column name (@joelmellon) #126
Full Changelog: 7.0.0...7.1.0
-
7.0.016 Feb 2023Release notes
Open source →What's Changed
- Laravel 10.x Compatibility by @laravel-shift in #122
- Apply fixes from StyleCI by @michaeldyrynda in #123
New Contributors
- @laravel-shift made their first contribution in #122
Breaking changes
This version replaces the
protected $uuidVersion = '';in favour of apublic function uuidVersion(): string;If you are upgrading from an earlier version, you will need to replace instances of the property declaration with a method that returns the version string. The default UUID version remains
uuid4.Full Changelog: 6.6.3...7.0.0
-
6.6.307 Mar 2022Release notes
Open source →What's Changed
- Validation for UUIDs passed to the
whereUuidscope by @MrThePlague in #115
New Contributors
- @MrThePlague made their first contribution in #115
Full Changelog: 6.6.1...6.6.3
- Validation for UUIDs passed to the
-
6.6.226 Jan 2022Nothing published for this version
-
6.6.1no dateNothing published for this version
-
6.6.026 Jan 2022Nothing published for this version
-
6.6.0-beta.126 Jan 2022 pre-releaseNothing published for this version
-
6.5.030 Sep 2021Nothing published for this version
-
6.4.118 Apr 2021Nothing published for this version
-
6.4.005 Dec 2020Nothing published for this version
-
6.3.008 Sep 2020Nothing published for this version
-
6.2.002 Aug 2020Nothing published for this version
-
6.1.125 Mar 2020Nothing published for this version
-
6.1.025 Mar 2020Nothing published for this version
-
6.0.214 Mar 2020Nothing published for this version
-
6.0.108 Mar 2020Nothing published for this version
-
6.0.007 Mar 2020Nothing published for this version
-
5.0.004 Sep 2019Nothing published for this version
-
4.1.114 Feb 2019Nothing published for this version
-
4.1.007 Sep 2018Nothing published for this version
-
4.0.120 Jun 2018Nothing published for this version
-
4.0.001 Mar 2018Nothing published for this version
-
3.1.124 Feb 2018Nothing published for this version
-
3.1.014 Feb 2018Nothing published for this version
-
3.0.031 Aug 2017Nothing published for this version
-
2.0.317 Jul 2017Nothing published for this version
-
2.0.205 Apr 2017Nothing published for this version
-
2.0.130 Mar 2017Nothing published for this version
-
2.0.030 Mar 2017Nothing published for this version
-
1.0.129 Mar 2017Nothing published for this version
-
1.0.028 Mar 2017Nothing published for this version