Download the PHP package dholmes/bga-workbench without Composer

On this page you can find all versions of the php package dholmes/bga-workbench. 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 bga-workbench

BoardGameArena Workbench

Build Latest Stable Version

A set of tools to work with BoardGameArena projects.

Installation

Via composer:

Via Docker:

(this last line should be set in your ~/.bashrc to keep the alias working in a new terminal)

To set up your project to work with BGA Workbench you need to have a bgaproject.yml file in the root. To generate one see the bgawb init command.

Initialise BGA Project

Once you've installed bgawb you can run the below command to interactively create a bgaproject.yml file in your current directory.

Deploying to BGA Studio

Continuous Deployment to Studio

Watches development files and deploys them as they change.

Compiling composer projects

The Board Game Arena production framework/environment doesn't natively support a Composer project setup. By having useComposer: true set in your bgaproject.yml file, the [bgawb build](Deploying to BGA Studio) command will merge all non-dev composer dependencies inline into your .game.php file before deploying.

Testing Utilities

Some testing utilities are provided to help test various parts of a standard BGA project game.

The Validate Command

Will run some basic checks on your project setup. e.g. whether you have the required files to function on the BGA platform (.game.php, .action.php, etc), whether your states.inc.php file is valid, etc.

PHPUnit TestHelp trait

Including this trait and implementing the createGameTableInstanceBuilder method will set up and tear down a game table instance for each test that is run. Note that this makes use of the setUp and tearDown PHPUnit hooks

Projects Using BGA Workbench

Development

i.e. if you want to make some changes to the BGA Workbench project. This is not required for using the library in your own project.

Requirements

Setting up Developer Machine

Running Tests

Publishing a New Version

  1. Add a release/tag on github with the version number.
  2. Go to the packagist url and click "Update": https://packagist.org/packages/dholmes/bga-workbench. This should be done automatically though if just left.

All versions of bga-workbench with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2.0
ext-mysqli Version *
ext-pdo_mysql Version *
lstrojny/functional-php Version >=1.6.0 <1.8.0
classpreloader/classpreloader Version ^3.1.0
jasonlewis/resource-watcher Version 1.2.0
symfony/console Version ^3.3.8
symfony/config Version ^3.3.8
symfony/process Version ^3.3.8
symfony/finder Version ^3.3.8
symfony/yaml Version ^3.3.8
phpseclib/phpseclib Version ^2.0.6
nette/reflection Version ^2.4.2
fzaninotto/faker Version ^1.7.1
doctrine/dbal Version ^2.5.12
phpoption/phpoption Version ^1.5.0
hamcrest/hamcrest-php Version ^2.0.0
squizlabs/php_codesniffer Version ^3.0.0
illuminate/support Version >=4.0 < 6.0.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 dholmes/bga-workbench contains the following files

Loading the files please wait ....