Download the PHP package feexpay/feexpay-php without Composer
On this page you can find all versions of the php package feexpay/feexpay-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download feexpay/feexpay-php
More information about feexpay/feexpay-php
Files in feexpay/feexpay-php
Package feexpay-php
Short Description Php sdk of Feexpay - Online payment solution by credit card and mobile money"
License MIT
Informations about the package feexpay-php
FeexpayPhp
Feexpay SDK PHP Project - User Guide
This guide explains how to use the Feexpay PHP SDK to easily integrate mobile and card payment methods into your PHP or Laravel application. Follow these steps to get started:
Installation
-
Install a local server like Xampp or Wamp etc ...
-
Install Composer if not already done.
- Check that Composer is installed by running the following command:
Usage in a Simple PHP Environment
-
Create your PHP project.
-
Download the Git repository by opening your terminal and running the following command:
-
Create a PHP file, for example,
index.php
. -
Use the SDK methods in your PHP file:
- You can also integrate a payment button in your PHP page:
Usage with Laravel
-
In a Laravel project, run the following command to install the Feexpay package:
-
Create a route in your
web.php
file: - Create a controller, for example,
YourController.php
, and use the Feexpay SDK inside this controller to handle payments:
or
- Integrate the Feexpay button in a view, for example,
welcome.blade.php
:
Create a route:
Create a controller by example YourController.php
Make sure you have your views file for our example is welcome.blade.php
You can now access the URL defined in the route to perform payments using Feexpay.
Make sure to adapt values like "shop's id", "token key API", addresses, amounts, and other details according to your own configuration and needs.