PHPackages                             manrich/juno - 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. manrich/juno

ActiveLibrary[Payment Processing](/categories/payments)

manrich/juno
============

Juno payment gateway API v2 abstraction with guzzle for webgopher

v1.0(4y ago)0561MITPHPPHP &gt;=7.3.5

Since Nov 19Pushed 4y ago1 watchersCompare

[ Source](https://github.com/LeonardoManrich/Juno-SDK)[ Packagist](https://packagist.org/packages/manrich/juno)[ RSS](/packages/manrich-juno/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)Dependencies (1)Versions (4)Used By (0)

Juno-SDK
========

[](#juno-sdk)

> Sdk não oficial

Para mais informações acesse a [WIKI](https://github.com/LeonardoManrich/Juno-SDK/wiki) e [Documentação api v2 juno](https://dev.juno.com.br/api/v2)

Starting
--------

[](#starting)

para instalar execute:

```
composer require manrich/juno
```

As chamadas feitas vão sempre te retornar o status http, headers, reason\_phrase e o resultado.

> O status\_code só retornará um código http em caso de falha de comunicação com o servidor ou sucesso. Caso seja algum erro referente a api, será retornado o código do erro que está documentado na api.

> Você pode ver os códigos de erros aqui: [ Juno códigos de erros ](https://integracao.juno.com.br/docs/error-codes/)

- Exemplo:

```

include '../vendor/autoload.php';

use Webgopher\Juno\Core\Environment\SandboxEnvironment;
use Webgopher\Juno\Core\Http\JunoClient;

$clientId = '....';
$clientSecret = '......';
$secretToken = '......';

$environment = new SandboxEnvironment($clientId, $clientSecret, $secretToken);

$juno = new JunoClient($environment);

echo '';
var_dump($juno->execute(new \Webgopher\Juno\Api\Balance\Balance()));
```

O código acima resultará nisso:

```
object(stdClass)#21 (4) {
  ["status_code"]=>
  int(200)
  ["headers"]=>
  array() {
   ...
  }
  ["reason_phrase"]=>
  string(3) "200"
  ["result"]=>
  object(stdClass)#36 (4) {
    ["balance"]=>
    float(160194.99)
    ["withheldBalance"]=>
    float(10768.52)
    ["transferableBalance"]=>
    float(149426.47)
    ["_links"]=>
    object(stdClass)#33 (1) {
      ["self"]=>
      object(stdClass)#38 (1) {
        ["href"]=>
        string(58) "https://sandbox.boletobancario.com/api-integration/balance"
      }
    }
  }
}

```

Você pode separar o resultado assim:

```
$request = $juno->execute(new \Webgopher\Juno\Api\Balance\Balance());

$status_code = $request->status_code;
$headers = $request->headers;
$reason_phrase = $request->reason_phrase;
$result = $request->result;
```

> Use `$reason_phrase` e `$status_code` para tratar possíveis erros tais como: cartão inválido, cartão sem saldo, etc...

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 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 ~10 days

Total

3

Last Release

1621d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5f7305406a6299a19f738124372bb7bb552b373921fa913acff055c10c2abb41?d=identicon)[LeonardoManrich](/maintainers/LeonardoManrich)

---

Top Contributors

[![LeonardoManrich](https://avatars.githubusercontent.com/u/43700589?v=4)](https://github.com/LeonardoManrich "LeonardoManrich (38 commits)")

---

Tags

junopaymentpayment-gatewaypayment-integrationsdk

### Embed Badge

![Health badge](/badges/manrich-juno/health.svg)

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

###  Alternatives

[chargebee/chargebee-php

ChargeBee API client implementation for PHP

768.0M9](/packages/chargebee-chargebee-php)[imdhemy/google-play-billing

Google Play Billing

491.3M5](/packages/imdhemy-google-play-billing)[bitpay/sdk

Complete version of the PHP library for the new cryptographically secure BitPay API

42337.5k4](/packages/bitpay-sdk)[buckaroo/sdk

Buckaroo payment SDK

12189.1k9](/packages/buckaroo-sdk)[contica/facturador-electronico-cr

Un facturador de código libre para integrar facturación electrónica en Costa Rica a un proyecto PHP

2128.8k](/packages/contica-facturador-electronico-cr)[karson/mpesa-php-sdk

172.2k](/packages/karson-mpesa-php-sdk)

PHPackages © 2026

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