PHPackages                             larangogon/threeds - 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. larangogon/threeds

ActiveLibrary[Payment Processing](/categories/payments)

larangogon/threeds
==================

threeDS place to pay

04PHP

Since Feb 13Pushed 4y agoCompare

[ Source](https://github.com/three-d-s-p2p/threeDS)[ Packagist](https://packagist.org/packages/larangogon/threeds)[ RSS](/packages/larangogon-threeds/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

3ds MPI Operations
------------------

[](#3ds-mpi-operations)

### Scope

[](#scope)

- Created with the purpose of improving the process and streamlining the requirements process in the operations area.

### Usage

[](#usage)

### Methods

[](#methods)

---

### CreateOrUpdate

[](#createorupdate)

---

#### The following parameters are required

[](#the-following-parameters-are-required)

- data: one object :: information to process.

    ###### Example: information imported from a file for mass management

    [](#example-information-imported-from-a-file-for-mass-management)

    ```
      $data =  $data = Data::find('id');

    ```
- Required (fields)

Create Merchant

```
            'name' => 'EGM Ingenieria sin frondteras',
            'brand' => 'placetopay',
            'type' => 'RUT',
            'number' => '123456789-0',
            'url' => 'https://www.placetopay.com',
            'mcc' => 742,
            'isicClass' => 111,
            'nameBranch' => 'Oficina principal',
            'country' => 'COL',
            'currency' => 'COP',
            'franchise' => 1,
            'acquirerBIN' => 12345678910,
            'version' => 2,
            'invitations' => 'larangogon@test.com',
            'merchantID' => null

```

Update Merchant

```
            'nameBranch' => 'Oficina principal',
            'brand' => 'placetopay',
            'country' => 'COL',
            'currency' => 'COP',
            'url' => 'https://www.placetopay.com',
            'merchantID' => 1

```

- token: string:: The authentication token which will be generated from the IT area. ######Note: the token must be requested from the area in charge of the PlaceToPay By Evertec

###### Example: 7EuWhiISGug3YW3nVQ99ONS8sO1bCc3UcG7T\_php....

[](#example-7euwhiisgug3yw3nvq99ons8so1bcc3ucg7t_php)

---

Flowchart
---------

[](#flowchart)

[![img_2.png](img_2.png)](img_2.png)

---

---

### createRequest

[](#createrequest)

---

#### The following parameters are required

[](#the-following-parameters-are-required-1)

- data: object-Collections :: information to process.

    ###### Example: iinformation imported from a file for mass management

    [](#example-iinformation-imported-from-a-file-for-mass-management)

    ```
      $data =  $data = Data::all();

    ```
- Required (fields)

    ```
              'name' => 'EGM Ingenieria sin frondteras',
              'brand' => 'placetopay',
              'type' => 'RUT',
              'number' => '123456789-0',
              'url' => 'https://www.placetopay.com',
              'mcc' => 742,
              'isicClass' => 111,
              'nameBranch' => 'Oficina principal',
              'country' => 'COL',
              'currency' => 'COP',
              'franchise' => 1,
              'acquirerBIN' => 12345678910,
              'version' => 2,
              'invitations' => 'larangogon@test.com'

    ```
- emailName: string :: Email of the person who will be notified if an error occurs

    ###### Example:

    [](#example-larangogon2gmailcom)
- token: string:: The authentication token which will be generated from the IT area. ######Note: the token must be requested from the area in charge of the PlaceToPay By Evertec

    ###### Example: 7EuWhiISGug3YW3nVQ99ONS8sO1bCc3UcG7T\_php

    [](#example-7euwhiisgug3yw3nvq99ons8so1bcc3ucg7t_php-1)

---

#### Update

[](#update)

---

- #### The following parameters are required

    [](#the-following-parameters-are-required-2)
- data: object-Collections :: information to process.

    ###### Example: iinformation imported from a file for mass management

    [](#example-iinformation-imported-from-a-file-for-mass-management-1)

    ```
      $data =  $data = Data::all();

    ```
- Required (fields)

    ```
              'nameBranch' => 'Oficina principal',
              'brand' => 'placetopay',
              'country' => 'COL',
              'currency' => 'COP',
              'url' => 'https://www.placetopay.com',
              'merchantID' => 1

    ```
- emailName: string :: Email of the person who will be notified if an error occurs

    ###### Example:

    [](#example-larangogon2gmailcom-1)
- token: string:: The authentication token which will be generated from the IT area. ######Note: the token must be requested from the area in charge of the PlaceToPay By Evertec

    ###### Example: 7EuWhiISGug3YW3nVQ99ONS8sO1bCc3UcG7T\_php

    [](#example-7euwhiisgug3yw3nvq99ons8so1bcc3ucg7t_php-2)

---

Mass consumption by means of wires, in parallel
-----------------------------------------------

[](#mass-consumption-by-means-of-wires-in-parallel)

- By consuming the createRequest method, we start a process which begins with authorization and processing in threads.

data will be divided by chunk of 500 with capacity of 20 threads

- The methods of this library can be overwritten

    ```
    abstract protected function chunkInputData($references, string $emailName, string $token);
    abstract protected function authorization($data, string $emailName, string $token);
    abstract protected function emailError($error, string $emailName);
    abstract protected function create($references, string $emailName, string $token);
    abstract protected function request($data, string $emailName, string $token);
    abstract protected function response($response, int $size);
    abstract protected function arrayInsert(array $data, int $size);
    abstract protected function responseUpdate($response);

    ```

---

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

[](#installation)

- composer require larangogon/threeds
- php artisan vendor:publish --tag="threeds-migrations"
- Use model Token: In the Token model: the information resulting from the consumption of createRequest is saved
- php artisan vendor:publish --tag="threeds-config"
- php artisan vendor:publish --tag="threeds-views"
-

Flowchart
---------

[](#flowchart-1)

[![img_3.png](img_3.png)](img_3.png)

-

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/169458ead41e952052f2e222b899f9261a9d6a004b489676345e0c05ddce8d11?d=identicon)[larangogon](/maintainers/larangogon)

---

Top Contributors

[![larangogon](https://avatars.githubusercontent.com/u/67110144?v=4)](https://github.com/larangogon "larangogon (74 commits)")

### Embed Badge

![Health badge](/badges/larangogon-threeds/health.svg)

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

###  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)
