am112 / c2pay
A package to help integration with 2c2p payment gateway
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:package
pkg:composer/am112/c2pay
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-02-16 15:04:40 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