Download the PHP package jorzelalves/laravel-asaas without Composer

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

Laravel Asaas

Pacote Laravel para integrar com a API de pagamentos Asaas. Oferece Facade e classes para gerenciar clientes, cobranças, assinaturas, parcelamentos, notas fiscais, links de pagamento, antecipações, finanças, transferências, subcontas, webhooks e chaves Pix.

Requisitos

Instalação

Publique o arquivo de configuração:

Adicione as variáveis de ambiente no .env:

Para ambiente sandbox:

Uso

A API key é passada por parâmetro em cada chamada, permitindo uso multi-tenant com chaves diferentes por subconta:

Todas as respostas seguem o formato:


Módulos

Customer (Clientes)


Payment (Cobranças)


Subscription (Assinaturas)

Ciclos disponíveis: WEEKLY, BIWEEKLY, MONTHLY, BIMONTHLY, QUARTERLY, SEMIANNUALLY, YEARLY


Installment (Parcelamentos)


Invoice (Notas Fiscais)


PaymentLink (Links de Pagamento)

Tipos de cobrança: DETACHED (avulsa), RECURRENT (recorrente), INSTALLMENT (parcelada)

Tipos de billing: PIX, BOLETO, CREDIT_CARD, UNDEFINED (cliente escolhe)


Anticipation (Antecipação)


Finance (Finanças)


Transfer (Transferências)

Tipos de chave Pix: CPF, CNPJ, EMAIL, PHONE, EVP


Pix


CreditCard (Cartão de Crédito)


SubAccount (Subcontas)

Tipos de empresa: MEI, LIMITED, INDIVIDUAL, ASSOCIATION


Webhook

Eventos disponíveis

Classe Eventos
PaymentsWebhookEvents PAYMENT_CREATED, PAYMENT_CONFIRMED, PAYMENT_RECEIVED, PAYMENT_OVERDUE, PAYMENT_DELETED, PAYMENT_REFUNDED, ...
SubscriptionsWebhookEvents SUBSCRIPTION_CREATED, SUBSCRIPTION_UPDATED, SUBSCRIPTION_INACTIVATED, SUBSCRIPTION_DELETED, ...
TransfersWebhookEvents TRANSFER_CREATED, TRANSFER_PENDING, TRANSFER_DONE, TRANSFER_FAILED, TRANSFER_CANCELLED, ...
InvoicesWebhookEvents INVOICE_CREATED, INVOICE_AUTHORIZED, INVOICE_CANCELED, INVOICE_ERROR, ...
BillsWebhookEvents BILL_CREATED, BILL_PAID, BILL_CANCELLED, BILL_FAILED, ...
AccountStatusWebhookEvents ACCOUNT_STATUS_DOCUMENT_APPROVED, ACCOUNT_STATUS_GENERAL_APPROVAL_APPROVED, ...
PhoneRechargeWebhookEvents PHONE_RECHARGE_CONFIRMED, PHONE_RECHARGE_CANCELLED, ...
ReceivableAnticipationWebhookEvents RECEIVABLE_ANTICIPATION_CREDITED, RECEIVABLE_ANTICIPATION_DENIED, ...

Retry automático

O pacote possui retry automático com backoff exponencial para resiliência contra falhas transitórias:


Tratamento de erros

Erros da API retornam no mesmo formato padronizado:

Erros de validação (antes do envio à API) lançam \Exception com os detalhes dos campos inválidos.


Multi-tenant

A $apiKey é passada em toda chamada via Asaas::modulo($apiKey). Isso permite que uma aplicação multi-tenant use chaves diferentes por subconta/cliente:


Licença

MIT


All versions of laravel-asaas with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
ext-json Version *
illuminate/support Version ^10.0|^11.0|^12.0
guzzlehttp/guzzle Version ^7.0
illuminate/console Version ^10.0|^11.0|^12.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 jorzelalves/laravel-asaas contains the following files

Loading the files please wait ...