Download the PHP package adrianolaselva/controlpay-sdk without Composer

On this page you can find all versions of the php package adrianolaselva/controlpay-sdk. 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 controlpay-sdk

version

Build Status Scrutinizer Code Quality Code Coverage Build Status

Total Downloads Monthly Downloads Daily Downloads

License

Componente de integração com API de ControlPay plataforma

Este Projeto tem por finalidade prover uma integração menos traumática e padronizada com as API's do ControlPay

Descrição

Para iniciar o uso os seguintes passos devem ser executados

* Passar como parâmetro no construtor em forma de array.

* Passar como parâmetro a partir de uma instância do Client.

Parâmetros

ControlPayParameterConst::CONTROLPAY_HOST => URL das apis do controlPay
ControlPayParameterConst::CONTROLPAY_TIMEOUT => Tempo de Timeout da requisição, como padrão o tempo é de 20 segundos
ControlPayParameterConst::CONTROLPAY_USER => Usuário de acesso ao controlPay
ControlPayParameterConst::CONTROLPAY_PWD => Senha de acesso ao controlPay
ControlPayParameterConst::CONTROLPAY_KEY => Chave de acesso ao controlPay
ControlPayParameterConst::CONTROLPAY_DEFAULT_TERMINAL_ID => Código do terminal que para acionamento do tef
ControlPayParameterConst::CONTROLPAY_DEFAULT_PRODUTO_ID => Código do produto padrão
ControlPayParameterConst::CONTROLPAY_DEFAULT_FORMA_PAGAMENTO_ID => Código de forma de pagamento padrão
ControlPayParameterConst::CONTROLPAY_DEFAULT_FORMA_AGUARDA_TEF => Transacionar com tef
ControlPayParameterConst::CONTROLPAY_DEFAULT_SENHA_TECNICA => Senha técnica para cancelamento de transação, aconselhável que ela não seja fixada no arquivo de configurações

Obs: Caso seja adicionado a "CONTROLPAY_KEY" no parâmetro, não será necessário os parâmetros "CONTROLPAY_USER" e "CONTROLPAY_PWD", pois os mesmos são utilizados para gerar uma key para efetuar as requisições

Para obter a versão configure seu composer.json conforme exemplo abaixo:

Certifique-se que as configurações foram preenchidas corretamente executando os testes presentes no diretório "/vendor/adrianolaselva/controlpay-sdk/tests/*"


All versions of controlpay-sdk with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6
guzzlehttp/guzzle Version 5.3
jms/serializer Version ^1.3
symfony/serializer Version ^3.1
symfony/property-access Version ~2.8|~3.0
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 adrianolaselva/controlpay-sdk contains the following files

Loading the files please wait ....