PHPackages                             payplug/payplug-plugin-core - 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. payplug/payplug-plugin-core

ActiveLibrary[Payment Processing](/categories/payments)

payplug/payplug-plugin-core
===========================

Module core pour l'intégration Payplug.

1.0.0(1mo ago)13↑2900%MITPHP ^7.2

Since Feb 11Compare

[ Source](https://github.com/payplug/payplug-plugin-core)[ Packagist](https://packagist.org/packages/payplug/payplug-plugin-core)[ RSS](/packages/payplug-payplug-plugin-core/feed)WikiDiscussions Synced 1mo ago

READMEChangelog (2)Dependencies (3)Versions (9)Used By (0)

Payplug Plugin Core
===================

[](#payplug-plugin-core)

Description
-----------

[](#description)

Module core for Payplug integration. Enables management of payments, merchants, and notifications via the Payplug API.

Requirements
------------

[](#requirements)

- PHP 7.2 or higher
- Composer
- Payplug PHP SDK (vendor payplug/payplug-php)

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

[](#installation)

#### Option 1 - Strongly recommanded via composer:

[](#option-1---strongly-recommanded-via-composer)

- Get composer from the `composer website`\_.
- Make sure you have initialized your *composer.json*.
- Run *composer require payplug/payplug-php* from your project directory.

> \_composer website:

#### Option 2 - clone the repository:

[](#option-2---clone-the-repository)

> git clone

#### Docker ?

[](#docker-)

Features
--------

[](#features)

- Major features:

    - Merchant management (authentication, module configuration based on permissions)
    - Payment management (creation, cancellation, refund) on the Payplug API via the vendor payplug/payplug-php
    - Webhook for receiving Payplug notifications
    - Saved payer card management in the Payplug API
- Minor features:

    - Error and log management
    - Concurrence handler (queuing system, text file, ?)
    - Validation of received data
    - Multilingual support (messages, notifications)
    - HTTP response management (statuses, messages)
    - Basic user interface management (confirmation/error messages)
    - Requirements validation

Structure of the module
-----------------------

[](#structure-of-the-module)

```
src
├── actions: All actions related to a workflow
├── gateways: All gateway
├── utilities
│   ├── helpers: Reusable static methods, generic, non-business
│   ├── validators: Data validation (validator)
│   ├── traits: Reusable methods for one or more classes/interfaces
│   └── services: Ready-to-use object (single task)
├── models
│   ├── repositories: Communication with the database
│   ├── entities: Definition of an object and its attributes (getter/setter)
│   └── classes
│       ├── Abstract classes: Base models not instantiable (gateway, address, card)
│       ├── Extended classes
│       └── Final classes: Final classes not extendable (ipn, lock)
└── interfaces: Definition of methods specific to a class

```

Endpoint payplug plugin
-----------------------

[](#endpoint-payplug-plugin)

- Merchant experience and actions:

    - user login
    - user logout
    - get user/merchant permissions
    - validate module requirements
    - configure payment features
    - create payment resource
    - abort payment resource
    - capture payment resource
    - refund payment resource
- User experience and actions:

    - initiate payment
    - delete saved card
- Automated actions:

    - on order creation
    - on language addition/modification/deletion
    - on order state addition/modification/deletion
    - on order history addition
- Display hooks:

    - display customer account
    - display CTA button
    - display order statuses form
    - display validation
    - display header
    - display payment options
    - display admin order content
    - display admin plugin configuration
    - display payplug payment listing ?
- Webhook (notifications):

    - handle payment notification use to create/update order
    - handle refund notification
    - handle merchand offer upgrade
    - handle merchand revocation

Next step Dev :
---------------

[](#next-step-dev-)

- Develop endpoint to create a payment link

Quick start:
------------

[](#quick-start)

```
composer install        # Hooks are installed automatically
composer cs:fix         # Manual code formatting
composer hooks:install  # Reinstall hooks if needed
composer hooks:install  # Reinstall hooks if needed

composer phpunit:unit   # Run only unitary phpUnit tests
composer phpunit:inte   # Run only integration phpUnit tests
composer phpunit:all    # Run all phpUnit tests
```

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance90

Actively maintained with recent releases

Popularity6

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

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

50d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f4a287f22902e3f232d251237ec5cb36a0829c085f2a6145f100d47a8b6b14bd?d=identicon)[dmurillo-payplug](/maintainers/dmurillo-payplug)

![](https://www.gravatar.com/avatar/028cae0550b0f77b3975c2a91860f21a00640e1639d77cc0a4800df5e853a6cd?d=identicon)[adumont-payplug](/maintainers/adumont-payplug)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/payplug-payplug-plugin-core/health.svg)

```
[![Health](https://phpackages.com/badges/payplug-payplug-plugin-core/health.svg)](https://phpackages.com/packages/payplug-payplug-plugin-core)
```

###  Alternatives

[pagseguro/php

Biblioteca de integração com o PagSeguro

23260.3k6](/packages/pagseguro-php)[dinkbit/conekta-cashier

Dinkbit Cashier nos da una interface para cobrar subscripciones con Conketa en Laravel.

365.4k](/packages/dinkbit-conekta-cashier)[msilabs/bkash

bKash Payment Gateway API for Laravel Framework.

181.4k](/packages/msilabs-bkash)[binkode/laravel-paystack

A description for laravel-paystack.

112.1k](/packages/binkode-laravel-paystack)

PHPackages © 2026

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