PHPackages                             levpay/levpay-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. [API Development](/categories/api)
4. /
5. levpay/levpay-php

ActiveLib[API Development](/categories/api)

levpay/levpay-php
=================

Levpay PHP Library

v1.0.0(7y ago)0154MITPHPPHP &gt;=5.4.0

Since Dec 26Pushed 7y agoCompare

[ Source](https://github.com/levpay/levpay-php)[ Packagist](https://packagist.org/packages/levpay/levpay-php)[ Docs](https://levpay.com)[ RSS](/packages/levpay-levpay-php/feed)WikiDiscussions master Synced 4d ago

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

[![](https://avatars2.githubusercontent.com/u/27030359?s=127&v=4)](https://avatars2.githubusercontent.com/u/27030359?s=127&v=4)

💙 levpay's PHP API
==================

[](#-levpays-php-api)

PHP integration for [Levpay API](https://docs.levpay.com/)

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

[](#installation)

Via Composer

```
composer require 'levpay/levpay-php'
```

Usage
-----

[](#usage)

### Basic

[](#basic)

First you need to create an **levToken** (*read more on [documentation](https://docs.levpay.com/#have-you-got-your-levtoken)*)

```
$client_id = "...";
$secret_key = "...";
$environment = "homolog"
$lp = new \Levpay\Levpay($client_id, $secret_key, $environment);
$object = array(
  'payment_method' => 'transferencia',
  'description' => 'testing create new order by Levpay php Class',
  'partner_reference' => 'lev20181226141600',
  'bank_slug' => 'bradesco',
  'amount' => 10.00,
  'expiration' => 3600,
  'data' => array(),
  'customer' => array(
    'name' => 'Thiago Avelino',
    'document_number' => '00000000000',
    'phone_number' => '+55 11 00000-0000',
    'email' => 'a@levpay.com',
    'data' => array()
  )
);
print_r($lp->CreateOrder($object));
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity55

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

Unknown

Total

1

Last Release

2697d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/90e62cda010b74124c56a6f1608e318733d6795051e68f69e9787d17ee1d724b?d=identicon)[avelino](/maintainers/avelino)

---

Top Contributors

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

---

Tags

apiapi-clientlevpaypaymentpayment-gatewayphpphp-libraryapipagamentospayments brazilpagamento brasillevpaydeposito bancario

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[pagarme/pagarme-php

271.5M10](/packages/pagarme-pagarme-php)[iugu/iugu

iugu PHP Library

92327.8k4](/packages/iugu-iugu)

PHPackages © 2026

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