2017 © Pedro Peláez
 

library laravel-model-uuid

Provides UUID datatype support for the Eloquent ORM

image

bluora/laravel-model-uuid

Provides UUID datatype support for the Eloquent ORM

  • Monday, April 10, 2017
  • by bluora
  • Repository
  • 1 Watchers
  • 0 Stars
  • 25 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % 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

10/04 2017

dev-master

9999999-dev

Provides UUID datatype support for the Eloquent ORM

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

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

14/08 2016

dev-analysis-ze0mZe

dev-analysis-ze0mZe

Provides UUID datatype support for the Eloquent ORM

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

laravel uuid eloquent illuminate