Download the PHP package atsmacode/poker-game without Composer

On this page you can find all versions of the php package atsmacode/poker-game. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package poker-game

About

A database driven package that provides logic to drive a basic Texas Hold-Em poker game.

It can be pulled in via composer to be used within a parent front-end package, but could also be used within an independent container as an API.

A brief description of how it works is:

It is by no means a finished poker game. Here are some of the things it does not yet do:

The testing is primarily based on Feature tests where I've set-up a range of scenarios.

Documentation

I've saved some examples of how I plan and map out changes using Lucid Charts:

Improvments

Planning

Environment

PHP

8.1.3

MySQL

8.0.13

Commands

Linux

Build the test DB:

dev/builddb

Run the unit test suite:

dev/phpunit

Individual Drop, Create and Seed commands. Remove '-d true' for prodution:

php dev/PokerGameApp.php app:create-database -d true

php dev/PokerGameApp.php app:build-card-games -d true

php dev/PokerGameApp.php app:build-poker-game -d true

Windows

Drop, Create and Seed all tables:

.\dev\builddb.bat

Run the unit test suite:

.\dev\runtests.bat

Individual Drop, Create and Seed commands. Remove '-d true' for prodution:

php .\dev\PokerGameApp.php app:create-database -d true

php .\dev\PokerGameApp.php app:build-card-games -d true

php .\dev\PokerGameApp.php app:build-poker-game -d true

Laragon

Using Laragon, the following example path to run PHP might be useful:

C:\laragon\bin\php\php-8.1.3-nts-Win32-vs16-x64/php

Configs

You need to add poker_game.php to configure your local DB credentials and log path, like so:


All versions of poker-game with dependencies

PHP Build Version
Package Version
Requires symfony/console Version 5.4.* || ^6.0
atsmacode/card-games Version ^2.0
laminas/laminas-servicemanager Version ^3.19
doctrine/dbal Version ^3.5
laminas/laminas-diactoros Version ^2.24
symfony/http-kernel Version 5.4.* || ^6.2
monolog/monolog Version ^1.22 || ^2.0 || ^3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package atsmacode/poker-game contains the following files

Loading the files please wait ....