Download the PHP package vanthao03596/laravel-ulid without Composer
On this page you can find all versions of the php package vanthao03596/laravel-ulid. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download vanthao03596/laravel-ulid
More information about vanthao03596/laravel-ulid
Files in vanthao03596/laravel-ulid
Package laravel-ulid
Short Description Laravel package for ULID (Universally Unique Lexicographically Sortable Identifier)
License MIT
Homepage https://github.com/vanthao03596/laravel-ulid
Informations about the package laravel-ulid
Laravel package for ULID (Universally Unique Lexicographically Sortable Identifier)
Installation
You can install the package via composer:
Usage
Generate uld from Str support class
Simply declare a ulid column type in your migration files.
Auto generate ulid column in your model
Default column is ulid. If you wish to use a custom column name, for example if you want your primary custom_column column to be a ULID, you can define a ulidColumn method in your model.
You can have multiple ULID columns in each table by specifying an array in the ulidColumns method.
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- phamthao
- All Contributors
License
The MIT License (MIT). Please see License File for more information.