The premier poker library for PHP; PhpPoker

Cpvr

PCF Prodigy
Staff member
PCF VIP
 
 
 
 
 
 
 
 
 
 
 
 
 
Joined
Jan 23, 2024
Messages
1,129
Reaction score
263
Points
733
PHPoker provides a comprehensive toolkit for working with cards, decks, and poker hand evaluation. Below are examples of the main features and how to use them.

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)
  • Collection Hand Evaluation​

    The library includes a powerful hand evaluation engine based on Kevin "CactusKev" Suffecool's algorithm with perfect-hash improvements by Paul Senzee. This provides fast and accurate poker hand evaluation

Source: https://github.com/PHPoker/Poker
 
Top