Download the PHP package frenchykiller/laravel-systempay without Composer

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

Systempay form component for Laravel 7.x+

Laravel GitHub StyleCI Scrutinizer Code Quality Build Status

Overview

This package provides a simple component to create a payment form for Banque Populaire's Systempay api.

Installation

In order to install the Laravel Boilerplate Systempay component, run:

Usage

To include the Systempay form in a page, simply add the component in your blade file:

Attributes

The following attributes are accepted:

Name Type Default Description
request array null Request containing the information to be sent to the systempay api to obtain the formToken. This request must contain the required amount field. Full documentation on aaccepted fields can be found here
hasButton boolean true Whether or not to generate the payment button and associated events. If this is set to false, you will have to send the transaction request manually with all appropriate parameters
successPost string null Post URL to redirect to if the payment is successful
successGet string null Get URL to redirect to if the payment is successful
failPost string null Post URL to redirect to if the payment is rejected
failGet string null Get URL to redirect to if the payment is rejected
site string default The name of the configuration to be used. Can be any name that is specified in the config file

Configuration

The component comes with a default config file making the component functional out of the box, however, if you wish to personalize the configuration, you can publish the config file with one of the following commands:

By default, the configuration file located at config/systempay.php contains the following information:

To change the default configuration, simply set the SYSTEMPAY_SITE_ID, SYSTEMPAY_PASSWORD and SYSTEMPAY_KEY variables in the config file or your .env file. These values are given by Systempay.

If you wish to add extra sites to the same app, simply add new entries to the config file as follows:

Testing

By default the package is set up to run in a test environment. To switch to prod you must set the SYSTEMPAY_SITE_ID, SYSTEMPAY_PASSWORD and SYSTEMPAY_KEY variables in your .env file or publish and change the config file as seen in the configuration section

Tests / Coding standards

This package is delivered with a Makefile used to launch checks for the respect of coding standards and the unit tests

Just call make to see the list of commands.

Contributing

Please see contributing.md for details and a todolist.

Credits

License

This package is free software distributed under the terms of the MIT license.


All versions of laravel-systempay with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
guzzlehttp/guzzle Version ^7.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 frenchykiller/laravel-systempay contains the following files

Loading the files please wait ....