gentle/bitbucket-api
PHP Bitbucket API wrapper (PHP 5.4+) using cURL and Buzz. Provides a simple client for interacting with Bitbucket endpoints, with full documentation and optional PHPUnit test suite. MIT licensed.
An account can have one or more email addresses associated with it. Use this end point to list, change, or create an email address.
{% include auth.md var_name="users" class_ns="Users" %}
$users->emails()->all($account_name);
$users->emails()->get($account_name, 'dummy@example.com');
When you add an address, Bitbucket sends an activation email to the new address. After the user clicks the activation link in the email, the address active is set to true and the address is available for use. If you call this method again, Bitbucket will send a new confirmation email.
$users->emails()->create($account_name, 'dummy@example.com');
$users->emails()->update($account_name, 'dummy@example.com', true);
$users->emails()->delete($account_name, 'dummy@example.com');
How can I help you explore Laravel packages today?