Skip to content
This repository was archived by the owner on Dec 10, 2018. It is now read-only.

Commit 597650d

Browse files
committed
Merge branch 'master' of github.com:spatie/laravel-binary-uuid
2 parents 44ae1d5 + 1394955 commit 597650d

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Optimised binary UUIDs in Laravel
1+
# Using optimised binary UUIDs in Laravel
22

33
[![Latest Version on Packagist](https://img.shields.io/packagist/v/spatie/laravel-binary-uuid.svg?style=flat-square)](https://packagist.org/packages/spatie/laravel-binary-uuid)
44
[![Build Status](https://img.shields.io/travis/spatie/laravel-binary-uuid/master.svg?style=flat-square)](https://travis-ci.org/spatie/laravel-binary-uuid)
@@ -7,12 +7,15 @@
77
[![StyleCI](https://styleci.io/repos/110949385/shield?branch=master)](https://styleci.io/repos/110949385)
88
[![Total Downloads](https://img.shields.io/packagist/dt/spatie/laravel-binary-uuid.svg?style=flat-square)](https://packagist.org/packages/spatie/laravel-binary-uuid)
99

10-
There are some use case where you want to use uuids as a primary key in your database. Unfortunately using a regular uuid can be quite slow.
10+
Using a regular uuid as a primary key is guaranteed to be slow.
1111

12-
This package solves that performance problems by storing a slightly tweaked binary version of the uuid. You can read more about this storing mechanism here: [http://mysqlserverteam.com/storing-uuid-values-in-mysql-tables/](http://mysqlserverteam.com/storing-uuid-values-in-mysql-tables/).
12+
This package solves the performance problem by storing slightly tweaked binary versions of the uuid. You can read more about the storing mechanism here: [http://mysqlserverteam.com/storing-uuid-values-in-mysql-tables/](http://mysqlserverteam.com/storing-uuid-values-in-mysql-tables/).
1313

14+
The package can generate optimized versions of the uuid. It also provides handy model scopes to easily retrieve models that use binary uuids.
1415

15-
The package currently only supports MySQL and SQLite.
16+
Want to test the perfomance improvements on your system? No problem, we've included [benchmarks](#running-the-benchmarks).
17+
18+
The package currently only supports MySQL and SQLite.
1619

1720
## Installation
1821

0 commit comments

Comments
 (0)