Download the PHP package hopekelldev/laravel-payvessel without Composer
On this page you can find all versions of the php package hopekelldev/laravel-payvessel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download hopekelldev/laravel-payvessel
More information about hopekelldev/laravel-payvessel
Files in hopekelldev/laravel-payvessel
Package laravel-payvessel
Short Description A Laravel package for interacting with Payvessel API
License MIT
Informations about the package laravel-payvessel
Laravel Payvessel
Laravel Payvessel is a Laravel 10+ package that provides a clean Facade-based integration with the Payvessel API. It allows you to easily create virtual accounts, retrieve account details, and update account BVNs using Laravel's fluent API.
Requirements
- PHP >= 8.0
- Laravel >= 10.0
- Laravel HTTP Client (built-in from Laravel 7+)
Installation
Install the package via Composer:
Configuration
Publish Configuration File
Run the following command to publish the configuration file:
Environment Variables
Add the following to your .env file:
Usage Example
Create a Virtual Account
Available Methods
| Category | Method | Description |
|---|---|---|
| Virtual Accounts | virtualAccounts()->createVirtualAccount($data) |
Create a reserved virtual account |
| Virtual Accounts | virtualAccounts()->getSingleVirtualAccount($account) |
Get virtual account details |
| Virtual Accounts | virtualAccounts()->accountBVNUpdate($account, $bvn) |
Update the BVN of a virtual account |
Example Controller Usage
License
This package is released under the MIT License.
Author
Ezenwa Hopekell
- GitHub: HopekellDev
- Email: [email protected]
- Message Hopekell on Whatsapp
Contributions & Issues
Feel free to submit a GitHub Issue or pull request for improvements or bug reports.