andytt/uuid

Laravel uuid using ramsey/uuid.

v0.3.0 2014-08-16 14:42 UTC

README

  1. Add 'Andytt\Uuid\UuidServiceProvider' to providers array in app/config/app.php.
  2. Add Alias to aliases array in app/config/app.php.
    • For example, 'Uuid' => 'Andytt\Uuid\Facades\Uuid'.

Usage

API wiki

Uuid::get(4); // Get version 4
Uuid::get(5, [namespace], [name]); // Get version 5

License

Base on: ramsey/uuid

This is licensed under the MIT License