PHPackages                             wio/wiopayments - 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. [API Development](/categories/api)
4. /
5. wio/wiopayments

ActiveLibrary[API Development](/categories/api)

wio/wiopayments
===============

WioPayments PHP SDK - Secure payment processing for Laravel applications

1.0.0(11mo ago)12MITPHPPHP ^8.1

Since May 26Pushed 11mo agoCompare

[ Source](https://github.com/WioPayments/agent-php)[ Packagist](https://packagist.org/packages/wio/wiopayments)[ Docs](https://github.com/wiopayments/laravel-sdk)[ RSS](/packages/wio-wiopayments/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (8)Versions (2)Used By (0)

WioPayments PHP SDK
===================

[](#wiopayments-php-sdk)

[![Latest Stable Version](https://camo.githubusercontent.com/8016fc585ec7318ed2f50194955c85a684f712e15c4ee47b9af8ffc27d87208a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f77696f2f77696f7061796d656e74732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/wio/wiopayments)[![Test Coverage](https://camo.githubusercontent.com/994d68acb2aadf1c3c7711ddcb3b30429246a6c05da9e601f62c3f932ac795a8/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f7665726167652d3130302532352d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/wio/wiopayments/actions)[![PHP Version Require](https://camo.githubusercontent.com/791abc3d55e6c80d5f8a89d19527fca2f98283e6600d1532623f54948105f3ab/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f77696f2f77696f7061796d656e74732e7376673f7374796c653d666c61742d737175617265)](https://php.net)[![Total Downloads](https://camo.githubusercontent.com/16acfaedeb941a70336441e4cfc84f0453d69560ce06209463250521df9b2517/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f77696f2f77696f7061796d656e74732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/wio/wiopayments)[![License](https://camo.githubusercontent.com/7327034270ccd2948fdfb1f356aab071640fdf6759b623637329d3a366432b0b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f77696f2f77696f7061796d656e74732e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)

**WioPayments PHP SDK** is the official, enterprise-grade payment processing library for PHP applications. Built with modern PHP standards and comprehensive test coverage, it provides a secure and reliable integration with the WioPayments Gateway platform.

Features
--------

[](#features)

- ✅ **100% Test Coverage** - Enterprise-grade reliability
- 🔒 **Security-First Design** - Built-in signature verification and validation
- 🚀 **Modern PHP 8.1+** - Leveraging latest PHP features and performance
- 📦 **Framework Agnostic** - Works with Laravel, Symfony, or any PHP application
- 💳 **Comprehensive Payment Support** - Cards, digital wallets, and alternative payment methods
- 🌍 **Multi-Currency** - Support for major global currencies
- 📊 **Advanced Analytics** - Detailed payment statistics and reporting
- 🔄 **Idempotent Operations** - Safe retry mechanisms for network failures
- 📚 **Complete Documentation** - Extensive examples and API reference

System Requirements
-------------------

[](#system-requirements)

- **PHP**: 8.1 or higher
- **Dependencies**: cURL extension, JSON extension
- **Framework**: Laravel 10.0+ (optional), Symfony 6.0+ (optional)
- **Memory**: Minimum 64MB PHP memory limit
- **SSL**: TLS 1.2 or higher for secure communications

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

[](#installation)

Install the SDK using Composer:

```
composer require wio/wiopayments
```

For Laravel applications, the service provider will be automatically registered via package discovery.

Configuration
-------------

[](#configuration)

### Environment Variables

[](#environment-variables)

Add your WioPayments credentials to your `.env` file:

```
WIOPAYMENTS_API_KEY=wio_live_sk_...
WIOPAYMENTS_SECRET_KEY=wio_live_whsec_...
WIOPAYMENTS_TIMEOUT=30
```

### Basic Initialization

[](#basic-initialization)

```
