danielpanzella/platformsh-client-php-bundle
Symfony bundle that registers the Platform.sh PHP API client as a service. Configure API token and token type in YAML, then fetch the PlatformClient from the container or inject it via Symfony 3.3+ autowiring.
A Symfony Bundle for the Platform.sh PHP Client (https://github.com/platformsh/platformsh-client-php).
platform_client:
api_token: <platform API Token>
api_token_type: <API Token type>
$this->get('Platformsh\Client\PlatformClient');
public function __construct(\Platformsh\Client\PlatformClient $platformClient)
{
$this->platformClient = $platformClient;
}
How can I help you explore Laravel packages today?