Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Bitbucket Api Laravel Package

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.

View on GitHub
Deep Wiki
Context7

layout: default permalink: /examples/users/emails.html title: Users emails

Users emails

An account can have one or more email addresses associated with it. Use this end point to list, change, or create an email address.

Prepare:

{% include auth.md var_name="users" class_ns="Users" %}

Get a list of user's email addresses:

$users->emails()->all($account_name);

Gets an individual email address associated with an account:

$users->emails()->get($account_name, 'dummy@example.com');

Add a new email address to an account:

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');

Set an email address as primary:

$users->emails()->update($account_name, 'dummy@example.com', true);

Delete an email address:

$users->emails()->delete($account_name, 'dummy@example.com');

Related:

  • [Authentication]({{ site.url }}/examples/authentication.html)
  • [Users]({{ site.url }}/examples/users.html)
  • BB Wiki
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
craftcms/url-validator
directorytree/privacy-filter-classifier
directorytree/privacy-filter
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata
splash/openapi
splash/scopes
splash/toolkit
testo/output-teamcity
testo/bridge-symfony