danielpanzella / platformsh-client-php-bundle
A bundle for the Platform.sh PHP API Client
Package info
github.com/danielpanzella/platformsh-client-php-bundle
Type:symfony-bundle
pkg:composer/danielpanzella/platformsh-client-php-bundle
v1.1
2017-07-17 00:38 UTC
Requires
- platformsh/client: ^0.11.2
This package is not auto-updated.
Last update: 2026-03-15 09:45:59 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; }