2017 © Pedro Peláez
 

library laravel-model-uuid

Provides UUID datatype support for the Eloquent ORM

image

hnhdigital-os/laravel-model-uuid

Provides UUID datatype support for the Eloquent ORM

  • Wednesday, May 30, 2018
  • by bluora
  • Repository
  • 1 Watchers
  • 0 Stars
  • 47 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 10 Versions
  • 7 % Grown

The README.md

    __                                ____  ____  __________ 
   / /   ____ __________ __   _____  / / / / / / / /  _/ __ \
  / /   / __ `/ ___/ __ `/ | / / _ \/ / / / / / / // // / / /
 / /___/ /_/ / /  / /_/ /| |/ /  __/ / /_/ / /_/ // // /_/ / 
/_____/\__,_/_/   \__,_/ |___/\___/_/\____/\____/___/_____/  

Adds support for the UUID datatype column for models., (*1)

Latest Stable Version Total Downloads Latest Unstable Version Built for Laravel License, (*2)

Build Status StyleCI Test Coverage Issue Count Code Climate, (*3)

This package has been developed by H&H|Digital, an Australian botique developer. Visit us at hnh.digital., (*4)

Installation

Via composer:, (*5)

$ composer require hnhdigital-os/laravel-model-uuid ~1.0, (*6)

Usage

Basic

The feature is exposed through a trait by casting your UUID columns as uuid., (*7)

use Bluora\ModelUuidColumn\UuidTrait;

class User extends Model
{
    use UuidTrait;

    protected $casts = [
        'id' => 'integer',
        'uuid' => 'uuid'
    ];
}

Querying the UUID column

You can then query the UUID column through whereUuid (single uuid) and whereUuidIn (many uuid's) methods., (*8)

Contributing

Please see CONTRIBUTING for details., (*9)

Credits

License

The MIT License (MIT). Please see License File for more information., (*10)

The Versions

30/05 2018

dev-master

9999999-dev

Provides UUID datatype support for the Eloquent ORM

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel uuid eloquent illuminate

12/02 2018

1.0.8

1.0.8.0

Provides UUID datatype support for the Eloquent ORM

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel uuid eloquent illuminate

03/02 2018

1.0.7

1.0.7.0

Provides UUID datatype support for the Eloquent ORM

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel uuid eloquent illuminate

03/02 2018

1.0.6

1.0.6.0

Provides UUID datatype support for the Eloquent ORM

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel uuid eloquent illuminate

01/02 2018

1.0.5

1.0.5.0

Provides UUID datatype support for the Eloquent ORM

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel uuid eloquent illuminate

22/01 2018

v1.0.4

1.0.4.0

Provides UUID datatype support for the Eloquent ORM

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel uuid eloquent illuminate

28/12 2017

v1.0.3

1.0.3.0

Provides UUID datatype support for the Eloquent ORM

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel uuid eloquent illuminate

12/09 2017

v1.0.2

1.0.2.0

Provides UUID datatype support for the Eloquent ORM

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel uuid eloquent illuminate

12/09 2017

v1.0.1

1.0.1.0

Provides UUID datatype support for the Eloquent ORM

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel uuid eloquent illuminate

31/12 2016

v1.0.0

1.0.0.0

Provides UUID datatype support for the Eloquent ORM

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

laravel uuid eloquent illuminate