Download the PHP package blognevis/payments without Composer
On this page you can find all versions of the php package blognevis/payments. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download blognevis/payments
More information about blognevis/payments
Files in blognevis/payments
Package payments
Short Description a combination of nowpayments plisio zarinpal
License
Informations about the package payments
Blognevis/Payments
blognevis/payments
is a PHP package that integrates three payment libraries—Zarinpal, Plisio, and NowPayments—into a single, unified interface. This package simplifies the process of handling payments from multiple providers in your Laravel application.
Table of Contents
- Description
- Installation
- Usage
- Features
- Configuration
- Contributing
- License
- Contact
Description
The blognevis/payments
package provides a seamless way to manage payments through Zarinpal, Plisio, and NowPayments using a consistent API. It is built on top of these libraries, offering a unified approach to handle various payment processes, including requests and verifications.
Installation
To install the package, run the following command using Composer:
After installation, publish the configuration file with Artisan:
This will allow you to customize the package's settings according to your application's needs.
Usage
The package simplifies payment operations with easy-to-use routes and facades. Below is an example of how to request a payment using NowPayments and then verify it.
Requesting a Payment
Verifying a Payment
Accessing the Main Libraries
You can directly access the underlying payment libraries through the provided facades:
NowpaymentFacade
PlisioPaymentFacade
ZarinpalPaymentFacade
This allows you to utilize the full capabilities of each payment library while still benefiting from the unified interface.
Features
- Unified Interface: Combines Zarinpal, Plisio, and NowPayments into a single package for easier management.
- Logging and Monitoring: Provides a log route for monitoring payment activities.
- Customizable Dashboard: Access the log dashboard via
http://localhost:8000/blognevis-payments?dashboard_key=password
. The path and password can be customized in the configuration file.
Configuration
After publishing the configuration file, you can find it in the config
directory of your Laravel application. Here, you can set the paths, credentials, and other settings necessary for integrating the payment gateways.
Contributing
If you'd like to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Make your changes.
- Commit your changes (
git commit -am 'Add new feature'
). - Push to the branch (
git push origin feature-branch
). - Create a new Pull Request.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Contact
For more information or support, feel free to contact us at [[email protected]].
All versions of payments with dependencies
blognevis/lnowpayments Version 0.0.1
blognevis/zarinpal Version 0.0.1