An expressive set of recipes to extend functionality in Laravel Eloquent.
122
0
1
Package Data
Maintainer Username: robbiegarvey
Maintainer Contact: robbiecgarvey@gmail.com (Robbie Garvey)
Package Create Date: 2017-07-02
Package Last Update: 2017-07-15
Language: PHP
License: MIT
Last Refreshed: 2025-02-06 03:05:32
Package Statistics
Total Downloads: 122
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

Vivid

Vivid is an expressive set of recipes to extend Laravel Eloquent. Features UUID key storage as BINARY(16) and 36 character strings.

Installation

composer require beep/vivid

Usage

Optimized UUID4

<?php

use Beep\Vivid\Database\Eloquent\Model;

class User extends Model
{
    
}

UUID4

class User extends Model
{
    protected $optimizedUuid = false;
}

ToDo

  • Cleanup and expand tests both optimized and add non-optimized UUID Model tests.
  • Properly cast optimized UUIDs.
  • JSON serialization by indicated columns for optimized.