Looking to hire Laravel developers? Try LaraJobs

laravel-uuid maintained by digitalie

Description
Laravel UUID Package
Last update
2017/10/28 14:50 (dev-master)
License
Downloads
15
Tags

Comments
comments powered by Disqus

Laravel UUID helpers

Laravel package to simplify UUID implementation in Eloquent models.

Inspired by webpaster/laravel-uuid, but uses ramsey/uuid for generation instead of custom build.

Installation

composer install digitalie/laravel-uuid

What is included

Auto-generate UUID field value trait

AutogenerateUuidTrait when used in Eloquent model will auto-populate uuid field with UUID v4.

Controller method model injection

UuidRoutableTrait when used in Eloquent model will modify the way Laravel finds models to inject into controller methods

License

MIT