2017 © Pedro Peláez
 

library ulid

Universally Unique Lexicographically Sortable Identifier ported to PHP

image

lewiscowles/ulid

Universally Unique Lexicographically Sortable Identifier ported to PHP

  • Thursday, July 12, 2018
  • by LewisCowles1986
  • Repository
  • 2 Watchers
  • 20 Stars
  • 91 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 5 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

php-ulid

Universally Unique Lexicographically Sortable Identifier ported to PHP, (*1)

travis ci build status, (*2)

Tests borrowed from .NET port
Original idea borrowed from JS, (*3)

License AGPL, (*4)

Requirements

PHP7, (*5)

Usage:

composer require lewiscowles/ulid, (*6)

Tests:

To generate the coverage report xdebug extension must be enabled for your PHP, (*7)

CLI

php vendor/bin/phpunit --coverage-html ./reports/ --whitelist src, (*8)

Jenkins pipeline step for testing

    stage('Run Unit Tests in PHP') {
        dir('ulid') {
            sh 'php vendor/bin/phpunit --coverage-html ./reports/ --whitelist src'
        }
        publishHTML([allowMissing: true, alwaysLinkToLastBuild: false, keepAll: true, reportDir: 'ulid/reports', reportFiles: 'index.html', reportName: 'PHPUnit Coverage'])
    }

Got an idea?

Create an issue, a PR, both (if possible) :smile_cat:, (*9)

The Versions

12/07 2018

dev-master

9999999-dev

Universally Unique Lexicographically Sortable Identifier ported to PHP

  Sources   Download

AGPL-3.0 AGPL

The Requires

  • php >=7.0

 

The Development Requires

by Lewis Cowles

12/07 2018

dev-jenkins

dev-jenkins

Universally Unique Lexicographically Sortable Identifier ported to PHP

  Sources   Download

AGPL-3.0

The Requires

  • php >=7.0

 

The Development Requires

by Lewis Cowles

13/09 2017

1.2.2

1.2.2.0

Universally Unique Lexicographically Sortable Identifier ported to PHP

  Sources   Download

AGPL-3.0

The Requires

  • php >=7.0

 

The Development Requires

by Lewis Cowles

12/09 2017

1.2.1

1.2.1.0

Universally Unique Lexicographically Sortable Identifier ported to PHP

  Sources   Download

AGPL-3.0

The Requires

  • php >=7.0

 

The Development Requires

by Lewis Cowles

09/12 2016

1.2

1.2.0.0

Universally Unique Lexicographically Sortable Identifier ported to PHP

  Sources   Download

AGPL

The Development Requires

by Lewis Cowles

09/12 2016

1.1

1.1.0.0

Universally Unique Lexicographically Sortable Identifier ported to PHP

  Sources   Download

AGPL

The Development Requires

by Lewis Cowles

02/08 2016

1.0

1.0.0.0

Universally Unique Lexicographically Sortable Identifier ported to PHP

  Sources   Download

AGPL

The Development Requires

by Lewis Cowles