danielpanzella/platformsh-client-php-bundle

A bundle for the Platform.sh PHP API Client

Installs: 17

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 0

Type:symfony-bundle

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

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

This package is not auto-updated.

Last update: 2025-09-28 07:38:23 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;
}