danielpanzella/platformsh-client-php-bundle

A bundle for the Platform.sh PHP API Client

Maintainers

👁 danielpanzella

Package info

github.com/danielpanzella/platformsh-client-php-bundle

Type:symfony-bundle

pkg:composer/danielpanzella/platformsh-client-php-bundle

Statistics

Installs: 17

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.1 2017-07-17 00:38 UTC

Requires

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 68a814af4da759255255c910685d7f0ef5eb2103

  • Daniel Panzella <daniel.panzella.woop@gmail.com>

This package is not auto-updated.

Last update: 2026-06-21 11:06:47 UTC


README

A Symfony Bundle for the Platform.sh PHP Client (https://github.com/platformsh/platformsh-client-php).

Configuration

platform_client:
 api_token: <platform API Token>
 api_token_type: <API Token type>

Access the Service:

By Service ID from the container

$this->get('Platformsh\Client\PlatformClient');

Symfony 3.3+ Autowiring

public function __construct(\Platformsh\Client\PlatformClient $platformClient)
{
 $this->platformClient = $platformClient;
}