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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

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

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:

This allows you to utilize the full capabilities of each payment library while still benefiting from the unified interface.

Features

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:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Make your changes.
  4. Commit your changes (git commit -am 'Add new feature').
  5. Push to the branch (git push origin feature-branch).
  6. 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

PHP Build Version
Package Version
Requires blognevis/plisio-sdk-laravel Version 0.0.1
blognevis/lnowpayments Version 0.0.1
blognevis/zarinpal Version 0.0.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package blognevis/payments contains the following files

Loading the files please wait ....