am112 / c2pay
A package to help integration with 2c2p payment gateway
v0.0.1-alpha.1
2026-02-16 14:22 UTC
Requires
- php: ^8.3
- firebase/php-jwt: ^7.0
- illuminate/contracts: ^11.0||^12.0
- spatie/laravel-package-tools: ^1.16
This package is auto-updated.
Last update: 2026-04-17 08:46:50 UTC
README
A Laravel package to simplify integration with the 2C2P payment gateway.
C2pay provides a clean, expressive API for generating payment tokens, handling tokenization requests, verifying responses, and managing payment transactions within Laravel applications.
✨ Features
- Generate 2C2P payment token requests
- Support for card tokenization
- JWT payload encoding & verification
- Laravel service container integration
- Configurable & publishable configuration
- Optional Eloquent models for transaction logging
- Laravel 11 & 12 support
- PHP 8.1+
📦 Installation
Install via Composer:
composer require am112/c2pay