PHPackages                             adhenrique/zoop - 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. adhenrique/zoop

ActiveLibrary[Payment Processing](/categories/payments)

adhenrique/zoop
===============

Zoop SDK to Laravel framework version 5.3+

v1.1.0(4y ago)1012.5k17[2 issues](https://github.com/adhenrique/zoop/issues)MITPHPPHP &gt;=5.6

Since Mar 27Pushed 4y ago3 watchersCompare

[ Source](https://github.com/adhenrique/zoop)[ Packagist](https://packagist.org/packages/adhenrique/zoop)[ RSS](/packages/adhenrique-zoop/feed)WikiDiscussions master Synced today

READMEChangelog (2)DependenciesVersions (9)Used By (0)

ZOOP Laravel
============

[](#zoop-laravel)

Zoop-laravel is a package for **Laravel 5.3+**, which consumes ZOOP payments api's.

> Statistics
> [![Latest Stable Version](https://camo.githubusercontent.com/9b4d44cf0d510a9acf76b278d150922e545764c72f84c5ed964447fdc62989d6/68747470733a2f2f706f7365722e707567782e6f72672f616468656e72697175652f7a6f6f702f76657273696f6e)](https://packagist.org/packages/adhenrique/zoop)[![Total Downloads](https://camo.githubusercontent.com/99276b3c5b994c39bf5c478bf9eb97ebf9f90a0ce80b9ac1d305981348c8f285/68747470733a2f2f706f7365722e707567782e6f72672f616468656e72697175652f7a6f6f702f646f776e6c6f616473)](https://packagist.org/packages/adhenrique/zoop)[![Latest Unstable Version](https://camo.githubusercontent.com/6351c3e68ab2d982994323a7f1ca502cc324d925525b00d6148a50586f71ed60/68747470733a2f2f706f7365722e707567782e6f72672f616468656e72697175652f7a6f6f702f762f756e737461626c65)](//packagist.org/packages/adhenrique/zoop)[![License](https://camo.githubusercontent.com/2dbef83de1c6cc0efe624d313b6ed4ccea726817fda9ca3409467d33a3e4b147/68747470733a2f2f706f7365722e707567782e6f72672f616468656e72697175652f7a6f6f702f6c6963656e7365)](https://packagist.org/packages/adhenrique/zoop)

Requeriments
------------

[](#requeriments)

- Laravel 5.3+
- PHP 5.6+
- PHP ext-curl
- PHP ext-json
- PHP ext-mbstring

Instalation
-----------

[](#instalation)

### 1 - Composer require

[](#1---composer-require)

Use composer to install the package and automatically update `composer.json`, running:

```
composer require adhenrique/zoop

```

### 2 - Update Laravel configuration

[](#2---update-laravel-configuration)

Update your application configuration to register the package in `config/app.php` adding the following line in `'providers'` section:

```
'providers' => [
    //...
    Zoop\ZoopServiceProvider::class,
    //...
],

```

### 3 - Publish ZOOP Laravel configuration

[](#3---publish-zoop-laravel-configuration)

Use the following command to publish the configuration settings from config.example.php in `zoop/src/resources/config/`:

```
php artisan vendor:publish --provider "Zoop\ZoopServiceProvider" --tag="config"

```

This will create the `config/zoopconfig.php` configuration file. Now, change the following lines:

```
'defaults'  => [
    //...
    'publishable_key'   => 'YOUR_PUBLISHABLE_KEY',
    'marketplace_id'    => 'YOUR_MARKETPLACE_ID',
    //...
]

```

...enjoy it :D.

Usage
-----

[](#usage)

### 1 - Tokenizer Credit Card

[](#1---tokenizer-credit-card)

**In your Controller**

```
namespace App\Http\Controllers;

use Zoop\src\Facades\ZoopTokens;

class HomeController extends Controller{
    $ccToken = ZoopTokens::tokenizeCard([
        'holder_name' => 'Makeda Swasey',
        'expiration_month' => "12",
        'expiration_year' => "2015",
        'security_code' => "373",
        'card_number' => "4532395075641483",
    ]);

    dd($ccToken);
}
```

### 2 - Creating a new Individual Seller

[](#2---creating-a-new-individual-seller)

**In your Controller**

```
namespace App\Http\Controllers;

use Zoop\src\Facades\ZoopSellers;

class HomeController extends Controller{
    $individualSeller = ZoopSellers::create([
        'first_name' => 'Rodrigo',
        'last_name' => "Miranda",
        'email' => "rodrigo@pagzoop.com",
        'phone_number' => "+12195465432",
        'ssn_last4_digits' => "7551",
        'birthdate' => "1983-09-11",
        'website' => "http://pagzoop.com",
        'facebook' => "https://www.facebook.com/rodrigo",
        'twitter' => "http://twitter.com/hypercreative",
    ]);

    dd($individualSeller);
}
```

### 3 - Creating a new Buyer

[](#3---creating-a-new-buyer)

**In your Controller**

```
namespace App\Http\Controllers;

use Zoop\src\Facades\ZoopBuyers;

class HomeController extends Controller{
    $buyer = ZoopBuyers::create([
        'first_name' => 'Fabiano',
        'last_name' => 'Cruz',
        'description' => 'Comprador de teste',
        'email' => 'fabiano@example.com',
    ]);

    dd($buyer);
}
```

### 4 - Card Not Present Transaction

[](#4---card-not-present-transaction)

**In your Controller**

```
namespace App\Http\Controllers;

use Zoop\src\Facades\ZoopChargeCNP;

class HomeController extends Controller{
    $cnp = ZoopChargesCNP::create([
        'currency' => 'BRL',
        'amount' => '100',
        'payment_type' => 'credit',
        'description' => 'Venda de teste, somente!',
        'statement_descriptor' => 'Descrição de testes',
        'on_behalf_of' => 'bb2a51f1c22a4c30b6bf6819be87ac52',
        'installment_plan' => [
            'mode' => 'interest_free',
            'number_installments' => '1'
        ],
        'customer' => 'bb2a51f1c22a4c30b6bf6819be87ac52', //buyer id
    ]);

    dd($cnp);
}
```

ZOOP Api Reference
------------------

[](#zoop-api-reference)

###  Health Score

34

—

LowBetter than 79% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 50% 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 ~235 days

Recently: every ~397 days

Total

8

Last Release

1635d ago

### Community

Maintainers

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

---

Top Contributors

[![adhenrique](https://avatars.githubusercontent.com/u/11527271?v=4)](https://github.com/adhenrique "adhenrique (22 commits)")[![taciobrito](https://avatars.githubusercontent.com/u/17855306?v=4)](https://github.com/taciobrito "taciobrito (17 commits)")[![jefersonfeijoo](https://avatars.githubusercontent.com/u/84607299?v=4)](https://github.com/jefersonfeijoo "jefersonfeijoo (4 commits)")[![andersonvalesan](https://avatars.githubusercontent.com/u/5656257?v=4)](https://github.com/andersonvalesan "andersonvalesan (1 commits)")

---

Tags

ecommercegatewaypaymentpayment-gatewaypaymentswispote-commerceCartão de Créditozooppagamento móvelponto de vendaPDVWispotMyguest

### Embed Badge

![Health badge](/badges/adhenrique-zoop/health.svg)

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

###  Alternatives

[sylius/invoicing-plugin

Invoicing plugin for Sylius.

90999.0k2](/packages/sylius-invoicing-plugin)[amsgames/laravel-shop

Package set to provide shop or e-commerce functionality (such as CART, ORDERS, TRANSACTIONS and ITEMS) to Laravel for customizable builds.

4845.9k](/packages/amsgames-laravel-shop)[aimeos/ai-payments

Payment extension for Aimeos e-commerce solutions

2259.7k](/packages/aimeos-ai-payments)[lunarphp/stripe

Stripe payment driver for Lunar.

2052.9k4](/packages/lunarphp-stripe)[commerceredsys/sermepa

Payment gateway library for spanish banks that use Sermepa/Redsýs systems.

1060.4k](/packages/commerceredsys-sermepa)[sunnysideup/ecommerce

Silverstripe E-commerce Application

257.2k73](/packages/sunnysideup-ecommerce)

PHPackages © 2026

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