Download the PHP package berarma/cakephp-redsys without Composer

On this page you can find all versions of the php package berarma/cakephp-redsys. 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 cakephp-redsys

Redsýs plugin for CakePHP

Build Status codecov

CakePHP plugin implementing the Redsýs TPV service API.

Requirements

Installation

You can install this plugin into your CakePHP application using composer:

Use

Load the component and configure:

This is a basic configuration example. The defaults array will be merged with any parameters passed in the requests. Please, read the Redsýs documentation to learn about all the optional parameters that can be used.

Load the helper:

Initiating a transaction in the Controller:

Rendering the form that sends the user to the TPV in the View:

Getting the response in the Controller:

The parameters from the response can then be accessed with:

Case sensitivity of parameters

The specification states that parameter names should use upper case or a mixed style of CamelCase and underline characters. Since the mixed CamelCase/underline style is confusing to say the least, and having 2 different naming styles adds to the confusion, I've decided to use the upper case style everywhere. That means all parameter names feeded to this plugin are converted to upper case, it doesn't matter how they were.

TODO

This plugin is a work in progress. You should expect compatibility breaking changes.

License

This plugin is licensed under the GPL v2 license. Most common uses of this plugin won't constitute a derived work, thus, you may use it and include it in your app independently of the license you've choosen for your code as long as the plugin itself is still distributed with its original license. But using this plugin from another plugin that provides modified or improved functionality may constitute a derived work and thus require you to use the same license for your plugin.


All versions of cakephp-redsys with dependencies

PHP Build Version
Package Version
Requires cakephp/cakephp Version ^3.4
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 berarma/cakephp-redsys contains the following files

Loading the files please wait ....