Download the PHP package toolsphp/docker without Composer
On this page you can find all versions of the php package toolsphp/docker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package docker
docker
- запуск контейнеров из PHP. Восзможное использование в тестах
use ToolsPhp\docker\Composer;
use ToolsPhp\docker\containers\DbContainer;
use ToolsPhp\docker\Docker;
include __DIR__ . "/../vendor/autoload.php";
$docker = Docker::getInstance();
$docker->factory([
'postgres' => function(Composer $composer) {
$composer->setPrototype(DbContainer::class);
/** @var DbContainer $container */
$container = $composer->up(__DIR__ . '/docker-composer.yml');
$container->setParamConnect('pgsql', 'postgres','postgres','postgres');
return $container;
}
]);
/** @var DbContainer $postgres */
$postgres = $docker->get('postgres');
$postgres->start();
$pdo = $postgres->getPDO();
All versions of docker with dependencies
PHP Build Version
Package Version
Requires
omauger/docker-compose-php Version
@dev
The package toolsphp/docker contains the following files
Loading the files please wait ...