https://github.com/programarivm/pgn-chess
PGN Chess for PHP is a friendly and powerful PGN (Portable Game Notation) library for running chess games from within PHP apps. This is a chess board representation available for PHP! Hopefully at some point it could be used to play against the computer, and for many other purposes also: learn chess, etc.
PGN Chess internally replicates the games being played on the board, which means they are actually run in the computer's memory.
PHP
At this moment, the library is been tested already to only be aware of games being played on the board -- you can play with a friend -- but it does not have any intelligence at all yet -- you cannot play against the computer.
Would you help make this library better? Contributions are welcome.