Download the PHP package krugerdavid/laravel-bancard-qr without Composer

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

Bancard QR for Laravel

Latest Stable Version Daily Downloads Monthly Downloads Total Downloads License PHP Version Require

Laravel wrapper package for Bancard QR API. More information about Bancard QR here

Requirements

Instalation

Fire up Composer and require this package in your project.

That's it.

Publish the config

Run the following command to publish config file,

Add ENV keys

Add the following keys on your .env file

How to use

Generate a QR

Generate a QR code for a payment.

The response object will have the following structure

Parameter Type Description
status String Indicates if the qr could be generated or not.
qr_express QR object Element with qr express data.
supported_clients Array List of clients that support payment with QR.

QR Object

Parameter Type Description
amount Number Amount in guaraníes.
hook_alias String Alias of the payment (from the QR)
description String Description of the sale entered by the merchant (Optional, the merchant may not enter a description)
url String URL where the generated QR image is located (in PNG format). This is the image that the store must display in its system.
created_at String Date time of creation of the QR in format dd/mm/yyyy HH:mm:ss
qr_data String QR data in EMVCo format.

Supported Clients List

Parameter Type Description
name String Client name.
logo_url String Client logo url

Revert QR Payment

Revert a QR code after a payment was made

The response object will have the following structure

Parameter Type Description
status String Indicates if the qr could be reversed or not.
reverse QR object Element with info of the QR reverted
messages Array In case of status error, list of errors

Credits

License

The MIT License (MIT). Please see License File for more information


All versions of laravel-bancard-qr with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
guzzlehttp/guzzle Version ^7.5
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 krugerdavid/laravel-bancard-qr contains the following files

Loading the files please wait ....