Download the PHP package tio-jobs/asaas-php without Composer

On this page you can find all versions of the php package tio-jobs/asaas-php. 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 asaas-php

ASAAS PHP

Este Pacote Laravel foi criado abstraindo os endpoints do Gateway de Pagamento ASAAS e permite trabalhar com a conta principal e subconta!

🇺🇸 This Laravel Package was created abstracting the Brazilian ASAAS Payment Gateway endpoints. The documentation is available in Portuguese (PT-BR) for ease of use of our targeted developers in Brazil. If you have any questions, please do not hesitate to open an issue or contact the author.

ASAAS API REFERENCE


SYSTEM REQUIREMENTS


OBTENDO A CHAVE DA API ASAAS

Para obter a CHAVE DA API ASAAS, você precisa acessar seu Perfil > Integrações.


INSTALANDO O PACOTE

nota: Este pacote ainda não está pronto para produção! Então, o primeiro passo, altere seu composer.json para:

Agora, você pode instalar a versão beta com o seguinte comando:


PUBLICANDO O ARQUIVO DE CONFIGURAÇÃO

Para publicar o arquivo de configuração, basta digitar:


ALTERANDO O ARQUIVO .ENV

Adicione a constante da CHAVE DA API no seu arquivo .env (com aspas simples):


CONSUMINDO A API ASAAS

NOTA: Todas as respostas estão localizadas no diretório \tests\Fixtures\responses.

CLIENTES - LISTAR


CLIENTES - CRIAR

Para mais campos disponíveis, consulte: https://docs.asaas.com/reference/criar-novo-cliente


CLIENTES - OBTER


CLIENTES - ENCONTRAR


CLIENTES - ATUALIZAR

Aqui um exemplo de atualização de telefone móvel usando o asaas-php:

Para mais campos disponíveis, consulte: https://docs.asaas.com/reference/atualizar-cliente-existente


CLIENTE - DELETAR


CLIENTES - RESTAURAR


CLIENTES - NOTIFICAÇÕES


COBRANÇAS - PAGAMENTO DIRETO COM BOLETO


COBRANÇAS - COBRANÇA COM PIX DINÂMICO


COBRANÇAS - COBRANÇA COM PIX ESTÁTICO


COBRANÇAS - COBRANÇA DIRETA COM CARTÃO DE CRÉDITO


COBRANÇAS - COBRANÇA PARCIAL COM CARTÃO DE CRÉDITO


COBRANÇAS - LISTAR TODAS AS COBRANÇAS


COBRANÇAS - DELETAR COBRANÇA


COBRANÇAS - ATUALIZAR COBRANÇA


COBRANÇAS - ENVIAR DOCUMENTO PARA COBRANÇA

[POST] https://sandbox.asaas.com/api/v3/payments/{id}/documents


COBRANÇAS - DELETAR DOCUMENTO ENVIADO PARA COBRANÇA

[DELETE] https://sandbox.asaas.com/api/v3/payments/{id}/documents/{documentId}


SUBCONTAS - CRIAR SUBCONTA

nota: Para conta pessoal usando CPF, o campo birthDate é obrigatório.


SUBCONTAS - LISTAR SUBCONTAS


SUBCONTAS - VERIFICAR DOCUMENTOS PENDENTES


SUBCONTAS - ENVIAR DOCUMENTOS PENDENTES


SUBCONTAS - OBTER DOCUMENTOS ENVIADOS


SUBCONTAS - ATUALIZAR DOCUMENTO ENVIADO


SUBCONTAS - DELETAR DOCUMENTO ENVIADO


SERVIÇOS BANCÁRIOS - EXTRATO BANCÁRIO

Para ver todos os tipos de extrato bancário, consulte: https://docs.asaas.com/reference/recuperar-extrato


SERVIÇOS BANCÁRIOS - TRANSFERIR PARA OUTRO BANCO OU CHAVE PIX


SERVIÇOS BANCÁRIOS - TRANSFERIR PARA CONTA ASAAS


SERVIÇOS BANCÁRIOS - OBTER TRANSFERÊNCIA


SERVIÇOS BANCÁRIOS - OBTER TODAS AS TRANSFERÊNCIAS


NOTIFICAÇÕES - ATUALIZAR NOTIFICAÇÃO

NOTIFICAÇÕES - ATUALIZAÇÃO EM LOTE DE NOTIFICAÇÕES


TESTES DE COBERTURA

CORE - Asaas Core Class [] verificar método de listagem [] verificar método de criação [] verificar método de obtenção [] verificar método de busca [] verificar método de atualização [] verificar método de exclusão [] verificar método de restauração [] verificar método de notificações [] verificar método de cobrança [] verificar método de upload

CORE - AsaasPhp Facade [x] verificar se a facade retorna a classe core Asaas.php

CLIENTES [x] Criar Cliente [x] Notificação do Cliente [x] Excluir Cliente [x] Encontrar Cliente por Documento [x] Obter Cliente [x] Listar Cliente [x] Restaurar Cliente [x] Atualizar Cliente

COBRANÇAS - BOLETO [x]


WEBHOOKS

Recomendamos fortemente o https://pipedream.com/ (logado com github) para configurar seu ASAAS_SANDBOX_WEBHOOK_URL.

Para ASAAS_PRODUCTION_WEBHOOK_URL,você pode criar uma rota POST em routes/api.php, por exemplo:

CONTRIBUTING

Contribuições são bem vindas. Por favor leia nossas diretrizes de contribuição (em inglês).

CREDITS

By Icaro William and contributors.


All versions of asaas-php with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/support Version ^10.28.0 || ^11.0
illuminate/container Version ^10.28.0 || ^11.0
illuminate/contracts Version ^10.28.0 || ^11.0
guzzlehttp/guzzle Version ^7.8
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 tio-jobs/asaas-php contains the following files

Loading the files please wait ....