PHPackages                             roliod/texas-holdem-up-validation-rules - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. roliod/texas-holdem-up-validation-rules

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

roliod/texas-holdem-up-validation-rules
=======================================

A rule engine that can determine the rank of a poker hand.

1.1.2(5y ago)38MITPHPPHP ^7.2CI failing

Since Nov 27Pushed 5y ago1 watchersCompare

[ Source](https://github.com/roliod/texas-holdem-up-validation-rules)[ Packagist](https://packagist.org/packages/roliod/texas-holdem-up-validation-rules)[ RSS](/packages/roliod-texas-holdem-up-validation-rules/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (4)Dependencies (3)Versions (5)Used By (0)

Texas Hold'em Up Validator Rule Engine
======================================

[](#texas-holdem-up-validator-rule-engine)

[![Build Status](https://camo.githubusercontent.com/fa53b9aa7e8c9b9a34f634762b07284211907a41973945f4dfe6ecb2b3d76041/68747470733a2f2f7472617669732d63692e636f6d2f726f6c696f642f74657861732d686f6c64656d2d75702d76616c69646174696f6e2d72756c65732e7376673f746f6b656e3d784c575252333847506846517576615a54683963266272616e63683d6d6173746572)](https://travis-ci.com/roliod/texas-holdem-up-validation-rules)

A Texas Hold’em poker hands validation rule engine in PHP.

Installation
============

[](#installation)

### Prerequisites

[](#prerequisites)

PHP version &gt;= 7.2

### Install Package

[](#install-package)

In order to install this package can either add it directly to your `composer.json`:

```
{
  "require": {
    "roliod/texas-holdem-up-validation-rules": "^1.1.1"
  }
}
```

OR

`composer require roliod/texas-holdem-up-validation-rules`

Quick Start
===========

[](#quick-start)

This package followings the [Standard Poker Hand Ranking rules](https://www.fgbradleys.com/et_poker.asp).

In order to get the rank of a list of hands using this package, you will need to do the following.

```
