All Projects → Lewiscowles1986 → php-ulid

Lewiscowles1986 / php-ulid

Licence: AGPL-3.0 license
Universally Unique Lexicographically Sortable Identifier ported to PHP

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to php-ulid

python-ulid
ULID implementation for Python
Stars: ✭ 177 (+293.33%)
Mutual labels:  ulid
well-documented
📖 A collection of analyses, tutorials, walkthroughs and literate implementations of moderately complex standalone applications
Stars: ✭ 57 (+26.67%)
Mutual labels:  reference-implementation
go-ulid
Universally Unique Lexicographically Sortable Identifier (ULID) in Go - Please use https://github.com/oklog/ulid
Stars: ✭ 31 (-31.11%)
Mutual labels:  ulid
reference-marketing-website
Next.js starter for creating a SaaS Marketing Website with Hygraph ⚡️
Stars: ✭ 104 (+131.11%)
Mutual labels:  reference-implementation
intruder-detector-python
Build an application that alerts you when someone enters a restricted area. Learn how to use models for multiclass object detection.
Stars: ✭ 16 (-64.44%)
Mutual labels:  reference-implementation
motor-defect-detector-python
Predict performance issues with manufacturing equipment motors. Perform local or cloud analytics of the issues found, and then display the data on a user interface to determine when failures might arise.
Stars: ✭ 24 (-46.67%)
Mutual labels:  reference-implementation
gemma-zaken
Samen ontwikkelen van API's voor Zaakgericht werken
Stars: ✭ 40 (-11.11%)
Mutual labels:  reference-implementation
ULID.swift
Universally Unique Lexicographically Sortable Identifier (ULID) in Swift.
Stars: ✭ 30 (-33.33%)
Mutual labels:  ulid
object-size-detector-python
Monitor mechanical bolts as they move down a conveyor belt. When a bolt of an irregular size is detected, this solution emits an alert.
Stars: ✭ 26 (-42.22%)
Mutual labels:  reference-implementation
safety-gear-detector-python
Observe workers as they pass in front of a camera to determine if they have adequate safety protection.
Stars: ✭ 54 (+20%)
Mutual labels:  reference-implementation
data.world-py
Python package for data.world
Stars: ✭ 98 (+117.78%)
Mutual labels:  reference-implementation
uuid-generator-plugin
An IntelliJ Idea plugin to generate UUID (Universally Unique Identifier), ULID (Universally Unique Lexicographically Sortable Identifier) and CUID (Collision Resistant Unique Identifier)
Stars: ✭ 30 (-33.33%)
Mutual labels:  ulid
dw-jdbc
JDBC driver for data.world
Stars: ✭ 17 (-62.22%)
Mutual labels:  reference-implementation
ulid
Universally Unique Lexicographically Sortable Identifier (ULID) in Crystal
Stars: ✭ 28 (-37.78%)
Mutual labels:  ulid
concurrent-video-analytic-pipeline-optimization-sample-l
Create a concurrent video analysis pipeline featuring multistream face and human pose detection, vehicle attribute detection, and the ability to encode multiple videos to local storage in a single stream.
Stars: ✭ 39 (-13.33%)
Mutual labels:  reference-implementation
object-flaw-detector-cpp
Detect various irregularities of a product as it moves along a conveyor belt.
Stars: ✭ 19 (-57.78%)
Mutual labels:  reference-implementation
ltfs
Reference implementation of the LTFS format Spec for stand alone tape drive
Stars: ✭ 130 (+188.89%)
Mutual labels:  reference-implementation
rulid.rs
Rust Universally Unique Lexicographically Sortable Identifier
Stars: ✭ 40 (-11.11%)
Mutual labels:  ulid
ruby-ulid
generator, parser, optional monotonicity and manipulations for ULID
Stars: ✭ 19 (-57.78%)
Mutual labels:  ulid
ERC884-reference-implementation
An Interface and Reference Implementation of the ERC-884 DGCL Token.
Stars: ✭ 42 (-6.67%)
Mutual labels:  reference-implementation

php-ulid

Universally Unique Lexicographically Sortable Identifier ported to PHP

travis ci build status

Tests borrowed from .NET port
Original idea borrowed from JS

License AGPL

Requirements

PHP7.4+

Usage:

composer require lewiscowles/ulid

Tests:

To generate the coverage report xdebug extension must be enabled for your PHP

Unit-test CLI

php vendor/bin/phpunit --coverage-html ./reports/ --whitelist src

Mutation testing with infection

php vendor/bin/infection

PHPStan

php vendor/bin/phpstan analyse src -l max

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) 😸

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].