Skip to content

PHPoker/Poker

Repository files navigation

PHPoker

GitHub Workflow Status (master) Total Downloads Latest Version License


PHP's Premier Poker Solution

Requires PHP 8.2+

⚡️ Installation using Composer:

composer require phpoker/poker

✨ Features

  • Base classes for common card + poker related entities
    • Card
    • CardFace
    • CardSuit
    • CardCollection
  • Evaluate
    • Highly optimized 5-card/7-card hand evaluators (port of Kevin "CactusKev" Suffecool's algorithm)

Usage

🛠️ Development & Contributing

All contributions are welcomed -- bug fixes, features, ideas, criticisms, optimizations!

Take advantage of the included development tools:

🧹 Keep a modern codebase with Laravel Pint:

composer lint

✅ Run refactors using Rector

composer refacto

⚗️ Run static analysis using PHPStan:

composer test:types

✅ Run unit tests using PEST

composer test:unit

🚀 Run the entire test suite:

composer test

PHPoker was created by Nick Poulos under the MIT license.

About

The premier poker library for PHP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages