Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: about 2 months ago
JSON representation

Use this class to encapsulate the latest and more secure Uuid versions

Awesome Lists containing this project

README

        

[![Build Status](https://travis-ci.org/nilportugues/php-uuid.svg)](https://travis-ci.org/nilportugues/php-uuid) [![Coverage Status](https://img.shields.io/coveralls/nilportugues/uuid.svg)](https://coveralls.io/r/nilportugues/uuid) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/nilportugues/uuid/badges/quality-score.png)](https://scrutinizer-ci.com/g/nilportugues/uuid/) [![Latest Stable Version](https://poser.pugx.org/nilportugues/uuid/v/stable)](https://packagist.org/packages/nilportugues/uuid) [![Total Downloads](https://poser.pugx.org/nilportugues/uuid/downloads)](https://packagist.org/packages/nilportugues/uuid) [![License](https://poser.pugx.org/nilportugues/uuid/license)](https://packagist.org/packages/nilportugues/uuid) [![SensioLabsInsight](https://insight.sensiolabs.com/projects/ee408e0a-5d08-42ce-9f42-b7a5220b1048/mini.png)](https://insight.sensiolabs.com/projects/ee408e0a-5d08-42ce-9f42-b7a5220b1048)
[![Donate](https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif)](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.