https://github.com/nilportugues/php-uuid
Use this class to encapsulate the latest and more secure Uuid versions
https://github.com/nilportugues/php-uuid
composer php php7 secure security uuid uuid-generator uuid4 uuid5
Last synced: 12 months ago
JSON representation
Use this class to encapsulate the latest and more secure Uuid versions
- Host: GitHub
- URL: https://github.com/nilportugues/php-uuid
- Owner: nilportugues
- License: mit
- Created: 2015-02-13T14:14:10.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2017-05-04T20:33:57.000Z (about 9 years ago)
- Last Synced: 2025-04-01T07:39:10.040Z (over 1 year ago)
- Topics: composer, php, php7, secure, security, uuid, uuid-generator, uuid4, uuid5
- Language: PHP
- Homepage: http://nilportugues.com
- Size: 21.5 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/nilportugues/php-uuid) [](https://coveralls.io/r/nilportugues/uuid) [](https://scrutinizer-ci.com/g/nilportugues/uuid/) [](https://packagist.org/packages/nilportugues/uuid) [](https://packagist.org/packages/nilportugues/uuid) [](https://packagist.org/packages/nilportugues/uuid) [](https://insight.sensiolabs.com/projects/ee408e0a-5d08-42ce-9f42-b7a5220b1048)
[](https://paypal.me/nilportugues)
# Uuid Generator
This class' intent is to encapsulate Uuid's latest and more secure versions removing the need to explicitly hard-code a Uuid version everywhere.
### 1. Installation
The recommended way to install the Uuid Generator is through [Composer](http://getcomposer.org). Run the following command to install it:
```sh
php composer.phar require nilportugues/uuid
```
### 2. Usage
Usage is real simple, you can create your Uuid right away or under certain namespaces.
#### 2.1. Without namespacing
This is the most common case. Usage is straight-forward:
```php
- [http://nilportugues.com](http://nilportugues.com)
### 5. License [↑](#index_block)
The code base is licensed under the MIT license.