Looking to hire Laravel developers? Try LaraJobs

laravelphp-unique maintained by tripteki

Description
Trip Teknologi's Laravel.php Unique Identifier
Last update
2023/11/02 04:11 (dev-main)
License
Downloads
350

Comments
comments powered by Disqus

This package provides unique identifier for Lumen and Laravel.

Getting Started

Installation :

$ composer require tripteki/laravelphp-unique

How to use it :

  • Put Tripteki\Uid\Traits\UniqueIdTrait into target model.

  • Put TargetModel::observe(\Tripteki\Uid\Observers\UniqueIdObserver::class) into boot provider.

  • Put $table->uuid("identifier") and $table->primary("identifier") into migration.

Author