Skip to content

Instantly share code, notes, and snippets.

View pradeep3's full-sized avatar
🌟
Creating apps

PradeepKumar K pradeep3

🌟
Creating apps
View GitHub Profile
@pradeep3
pradeep3 / HasUuid.php
Created September 30, 2021 16:03 — forked from calebporzio/HasUuid.php
A little trait to add to models that will have Uuids
<?php
// Example usage in a model:
class ExampleModel extends Model
{
use HasUuid;
protected $primaryKey = 'uuid';