Download the PHP package abraham-flutterwave/laravel-payment without Composer

On this page you can find all versions of the php package abraham-flutterwave/laravel-payment. 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 laravel-payment

Flutterwave Laravel.

Packagist Downloads Packagist PHP Version Support GitHub stars Packagist License

This Flutterwave Laravel Package provides easy access to Flutterwave for Business (F4B) v3 APIs from Laravel apps. It abstracts the complexity involved in direct integration and allows you to make quick calls to the APIs.

Available features include:

Table of Contents

  1. Requirements
  2. Installation
  3. Initialization
  4. Usage
  5. Testing
  6. Debugging Errors
  7. Support
  8. Contribution guidelines
  9. License
  10. Changelog

Requirements

  1. Flutterwave for business API Keys
  2. Acceptable PHP versions: >= 7.3

Installation

The vendor folder is committed into the project to allow easy installation for those who do not have composer installed. It is recommended to update the project dependencies using:

Ensure that you publish your config file by running:

Initialization

In your .env file add the following environment variables:

Business Settings/preferences like logo, name, payment method can be set in the config file config/flutterwave.php

Usage

Render Payment Modal

There are two types of modal that can be rendered, the inline modal and the standard modal. The inline modal is rendered on your website while the standard modal is rendered on a flutterwave hosted page.

Inline Modal

Standard Modal


Logging

To enable logging, simple add the following to your config file config/logging.php

Webhook Setup

Create a Webhook url to receive payment notification on Payment events. Below is a sample of a webhook url implementation using the new package.

Testing

All of the SDK's tests are written with PHP's module. The tests currently test: , , ,

They can be run like so:

NOTE: If the test fails for creating a subaccount, just change the and to something different

NOTE: The test may fail for account validation - depending on whether the service is down or not

Debugging Errors

We understand that you may run into some errors while integrating our library. You can read more about our error messages here.

For authorization and validation error responses, double-check your API keys and request. If you get a server error, kindly engage the team for support.

Support

For additional assistance using this library, contact the developer experience (DX) team via slack.

You can also follow us @FlutterwaveEng and let us know what you think 😊.

Contribution guidelines

Read more about our community contribution guidelines here

License

By contributing to this library, you agree that your contributions will be licensed under its MIT license.

Copyright (c) Flutterwave Inc.

Flutterwave API References

TODOs

  1. Add other Flutterwave Services - card,transfer,subaccount,payoutsubaccounts,plans and momo
  2. Console Commands - Webhooks, Make Payment, and Refunds.

All versions of laravel-payment with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4 || ^8.0
illuminate/support Version ^7.0|^v8.83|^9.39|^10.0|^11.0
ext-json Version *
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 abraham-flutterwave/laravel-payment contains the following files

Loading the files please wait ....