laravel-uuid-model maintained by xzxzyzyz
Last update
2026/03/18 03:55
License
Require
- ramsey/uuid ^4.0
- php ^8.2
- illuminate/config ^10.0|^11.0|^12.0|^13.0
- illuminate/database ^10.0|^11.0|^12.0|^13.0
- illuminate/support ^10.0|^11.0|^12.0|^13.0
Last update
2026/03/18 03:55
License
Require
- php ^8.2
- illuminate/config ^10.0|^11.0|^12.0|^13.0
- illuminate/database ^10.0|^11.0|^12.0|^13.0
- illuminate/support ^10.0|^11.0|^12.0|^13.0
- ramsey/uuid ^4.0
Last update
2025/06/30 06:58
License
Require
- php ^8.1
- illuminate/config ^9.0|^10.0|^11.0|^12.0
- illuminate/database ^9.0|^10.0|^11.0|^12.0
- illuminate/support ^9.0|^10.0|^11.0|^12.0
- ramsey/uuid ^4.0
Last update
2024/04/01 10:03
License
Require
- php ^8.1
- illuminate/config ^9.0|^10.0|^11.0
- illuminate/database ^9.0|^10.0|^11.0
- illuminate/support ^9.0|^10.0|^11.0
- ramsey/uuid ^4.0
Last update
2023/03/07 15:13
License
Require
- php ^7.4|^8.0
- illuminate/config ^8.0|^9.0|^10.0
- illuminate/database ^8.40.0|^9.0|^10.0
- illuminate/support ^8.0|^9.0|^10.0
- ramsey/uuid ^4.0
Last update
2022/01/27 10:28
License
Require
- php ^7.4|^8.0
- illuminate/config ^7.0|^8.0|^9.0
- illuminate/database ^7.30.4|^8.40.0|^9.0
- illuminate/support ^7.0|^8.0|^9.0
- moontoast/math ^1.1
Last update
2021/10/01 11:55
License
Require
- php ^7.3|^8.0
- illuminate/config ^6.0|^7.0|^8.0
- illuminate/database ^6.0|^7.0|^8.0
- illuminate/support ^6.0|^7.0|^8.0
- moontoast/math ^1.1
Last update
2020/09/11 10:11
License
Require
- php ^7.3
- illuminate/config ^5.8|^6.0|^7.0|^8.0
- illuminate/database ^5.8|^6.0|^7.0|^8.0
- illuminate/support ^5.8|^6.0|^7.0|^8.0
- moontoast/math ^1.1
Last update
2020/03/05 07:25
License
Require
- php ^7.2
- illuminate/config ^5.8|^6.0|^7.0
- illuminate/database ^5.8|^6.0|^7.0
- illuminate/support ^5.8|^6.0|^7.0
- moontoast/math ^1.1
Last update
2019/08/15 04:37
License
Require
- php ^7.1.3
- illuminate/config ^5.5|^6.0
- illuminate/database ^5.5|^6.0
- illuminate/support ^5.5|^6.0
- moontoast/math ^1.1
Last update
2019/03/05 05:50
License
Require
- php ^7.1.3
- illuminate/config ~5.6.0|~5.7.0|~5.8.0
- illuminate/database ~5.6.0|~5.7.0|~5.8.0
- illuminate/support ~5.6.0|~5.7.0|~5.8.0
- moontoast/math ^1.1
Last update
2019/03/05 05:40
License
Require
- php ^7.1.3
- illuminate/config ~5.6.0|~5.7.0|~5.8.0
- illuminate/database ~5.6.0|~5.7.0|~5.8.0
- illuminate/support ~5.6.0|~5.7.0|~5.8.0
- moontoast/math ^1.1
Last update
2018/10/04 09:35
License
Require
- php ^7.1.3
- illuminate/config ~5.6.0|~5.7.0
- illuminate/database ~5.6.0|~5.7.0
- illuminate/support ~5.6.0|~5.7.0
- moontoast/math ^1.1
Laravel Uuid Model
Using uuid in eloquent model.
Installation
composer require xzxzyzyz/laravel-uuid-model
Usage
Create primary key as string type.
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('example', function(Blueprint $table) {
$table->uuid('id')->primary();
// ...
});
}
And, Extends Xzxzyzyz\Laravel\Uuid\Model in your model.
use Xzxzyzyz\Laravel\Uuid\Model;
class Example extends Model
{
//...
}