Back to the "Deployment API" | Back to the navigation
Provides information about environments for a repository. Wraps GitHub Environments API.
Additional APIs:
$environments = $client->deployment()->environment()->all('KnpLabs', 'php-github-api');
$environment = $client->deployment()->environment()->show('KnpLabs', 'php-github-api', $name);
$data = $client->deployment()->environment()->createOrUpdate('KnpLabs', 'php-github-api', $name);
$environment = $client->deployment()->environment()->remove('KnpLabs', 'php-github-api', $name);