PHPackages                             getnet/getnet-php - 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. getnet/getnet-php

ActiveLibrary[Payment Processing](/categories/payments)

getnet/getnet-php
=================

GetNet PHP Library

52.0k↓100%1PHP

Since Jul 12Pushed 7y ago2 watchersCompare

[ Source](https://github.com/victorcaina/getnet-php)[ Packagist](https://packagist.org/packages/getnet/getnet-php)[ RSS](/packages/getnet-getnet-php/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

GetNet PHP SDK
==============

[](#getnet-php-sdk)

[![Latest Stable Version](https://camo.githubusercontent.com/c616d01e2593b439da5161f22e51a57fd3ee2b7868fc54bfff22a8e3ce460238/68747470733a2f2f706f7365722e707567782e6f72672f6765746e65742f6765746e65742d7068702f762f737461626c65)](https://packagist.org/packages/getnet/getnet-php)[![Latest Unstable Version](https://camo.githubusercontent.com/80116507342b5403019d6f6017309f5d0489c91f1baebe10bb8c1e58de8bb523/68747470733a2f2f706f7365722e707567782e6f72672f6765746e65742f6765746e65742d7068702f762f756e737461626c65)](https://packagist.org/packages/getnet/getnet-php)[![License](https://camo.githubusercontent.com/7233696f974c14800443b6fd76409bdd5d8a4809874fa687b52e9575473e8d8d/68747470733a2f2f706f7365722e707567782e6f72672f6765746e65742f6765746e65742d7068702f6c6963656e7365)](https://packagist.org/packages/getnet/getnet-php)[![Total Downloads](https://camo.githubusercontent.com/7cad58b1b9814972f00b493e8af466979cc0b46ac54c857ae71f6843622ef2ea/68747470733a2f2f706f7365722e707567782e6f72672f6765746e65742f6765746e65742d7068702f646f776e6c6f616473)](https://packagist.org/packages/getnet/getnet-php)

PHP integration for [GetNet API](https://api.getnet.com.br/v1/doc/api)

Installation
------------

[](#installation)

Via Composer

```
composer require 'getnet/getnet-php'
```

Usage
-----

[](#usage)

### Basic

[](#basic)

you will need your Client ID and Client Secret to authenticate

```
$authenticate = [
	'client_id' 	=> 'eb153ef1...e47b199',
	'client_secret' => 'fcf1e007...de0b9e6'
];

$authorization = new GetNet_Token($authenticate);
$authorization->authorize();
```

### Wiki

[](#wiki)

Check the [wiki](https://github.com/victorcaina/getnet-php/wiki) for detailed documentation.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 91.3% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/f50494b5071f5c1b60b641f0780033a3be581fb923c64644f5f23a3f9ea55828?d=identicon)[armandohprado](/maintainers/armandohprado)

---

Top Contributors

[![victorcaina](https://avatars.githubusercontent.com/u/8504319?v=4)](https://github.com/victorcaina "victorcaina (21 commits)")[![armandoprado-betalabs](https://avatars.githubusercontent.com/u/9553127?v=4)](https://github.com/armandoprado-betalabs "armandoprado-betalabs (2 commits)")

---

Tags

gatewaygetnetpagamentopagamentos-onlinephpphp53sdk-php

### Embed Badge

![Health badge](/badges/getnet-getnet-php/health.svg)

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

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

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