PHPackages                             hypejunction/hypebraintreepayments - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. hypejunction/hypebraintreepayments

AbandonedArchivedElgg-plugin[Payment Processing](/categories/payments)

hypejunction/hypebraintreepayments
==================================

Braintree client for Elgg

1.1.1(7y ago)19proprietaryPHPPHP &gt;=7.0

Since Mar 19Pushed 7y ago1 watchersCompare

[ Source](https://github.com/hypeJunction/Elgg3-hypeBraintreePayments)[ Packagist](https://packagist.org/packages/hypejunction/hypebraintreepayments)[ Docs](http://hypejunction.com)[ RSS](/packages/hypejunction-hypebraintreepayments/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (3)Dependencies (2)Versions (5)Used By (0)

hypeBraintreePayments
=====================

[](#hypebraintreepayments)

A wrapper for Braintree's PHP SDK

Webhooks
--------

[](#webhooks)

Configure your Braintree application to send webhooks to `https:///payments/braintree/webhooks`

To digest a webhook, register a plugin hook handler:

```
elgg_register_plugin_hook_handler('subscription_went_past_due', 'braintree', HandleExpiredSubscription::class);

class HandleExpiredSubscription {
	public function __invoke(\Elgg\Hook $hook) {
		$webhook = $hook->getParam('webhook');
		/* @var $webhook \Briantree\WebhookNotification */

		// ... do stuff

		return $result; // data to send back to braintree
	}
}
```

Card Input
----------

[](#card-input)

To display a card input:

```
// Card number, expiry and CVC
echo elgg_view_field([
	'#type' => 'braintree/card',
	'#label' => 'Credit or Debit Card',
	'required' => true,
]);
```

You can then retrieve the value of the Braintree token in your action:

```
$token = get_input('braintree_token'); // Corresponds to payment_method_nonce

elgg()->{'payments.gateways.braintree'}->pay($transaction, [
	'braintree_token' => $token,
]);
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~36 days

Total

4

Last Release

2867d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5071b1cd852e094b3f564962a625e04c227adc73af30c5b46b243ab8f20154a7?d=identicon)[hypeJunction](/maintainers/hypeJunction)

---

Top Contributors

[![hypeJunction](https://avatars.githubusercontent.com/u/1202761?v=4)](https://github.com/hypeJunction "hypeJunction (8 commits)")

---

Tags

pluginelggpaymentsbraintree

### Embed Badge

![Health badge](/badges/hypejunction-hypebraintreepayments/health.svg)

```
[![Health](https://phpackages.com/badges/hypejunction-hypebraintreepayments/health.svg)](https://phpackages.com/packages/hypejunction-hypebraintreepayments)
```

###  Alternatives

[chronon/stripe

A CakePHP 2.x Stripe Payment Processing Component.

4246.6k](/packages/chronon-stripe)[omnipay/braintree

Braintree gateway for Omnipay payment processing library

35558.0k3](/packages/omnipay-braintree)[cometcult/braintree-bundle

Symfony 2 Bundle for Braintree's PHP client library

2185.9k](/packages/cometcult-braintree-bundle)[mmanos/laravel-billing

A billing package for Laravel 4.

451.3k](/packages/mmanos-laravel-billing)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
