├── .docker └── php │ └── Dockerfile ├── .github ├── CODE_OF_CONDUCT.md ├── FUNDING.yml ├── SECURITY.md └── SUPPORT.md ├── .gitignore ├── .husky ├── commit-msg ├── pre-commit └── pre-push ├── .vscode └── settings.json ├── CONTRIBUTING.md ├── LICENSE.md ├── Makefile ├── README.md ├── composer.json ├── composer.lock ├── docker-compose.yml ├── examples ├── asaas │ ├── charges.php │ ├── credentials.example.php │ ├── customers.php │ ├── pix.php │ ├── subscriptions.php │ └── webhook.php ├── efi │ ├── charges.php │ └── credentials.example.php └── helper │ ├── termwind-cli.php │ └── termwind.php ├── package.json ├── phpstan.neon ├── phpunit.xml ├── pint.json ├── src ├── Contracts │ └── GatewayInterface.php ├── Exceptions │ └── AsaasExceptions.php ├── Gateways │ ├── Asaas │ │ ├── AsaasGateway.php │ │ ├── Enums │ │ │ ├── BillingTypeEnum.php │ │ │ ├── InvoiceFiltersEnum.php │ │ │ ├── InvoiceStatusEnum.php │ │ │ └── InvoiceStatusFiscalDocumentEnum.php │ │ ├── Interface │ │ │ └── AsaasGatewayInterface.php │ │ ├── Requests │ │ │ ├── AsaasChargeRequest.php │ │ │ ├── AsaasCustomerRequest.php │ │ │ └── AsaasPixRequest.php │ │ ├── Resources │ │ │ ├── Charge │ │ │ │ ├── Charge.php │ │ │ │ ├── Enum │ │ │ │ │ └── WebhookEventsEnum.php │ │ │ │ └── Interface │ │ │ │ │ └── ChargeInterface.php │ │ │ ├── Customer │ │ │ │ ├── Customer.php │ │ │ │ └── Interface │ │ │ │ │ └── CustomerInterface.php │ │ │ ├── Pix │ │ │ │ ├── Interface │ │ │ │ │ └── PixInterface.php │ │ │ │ └── Pix.php │ │ │ ├── Subscription │ │ │ │ ├── Interface │ │ │ │ │ └── SubscriptionInterface.php │ │ │ │ ├── Requests │ │ │ │ │ └── StoreSubscriptionAsaasRequest.php │ │ │ │ └── Subscription.php │ │ │ └── Webhook │ │ │ │ ├── Interface │ │ │ │ └── WebhookInterface.php │ │ │ │ └── Webhook.php │ │ └── Traits │ │ │ └── HasAsaasClient.php │ └── Efi │ │ ├── EfiGateway.php │ │ ├── Interface │ │ └── EfiGatewayInterface.php │ │ ├── Resources │ │ ├── Authorization │ │ │ ├── Authorization.php │ │ │ └── Interface │ │ │ │ └── AuthorizationInterface.php │ │ └── Charge │ │ │ ├── Charge.php │ │ │ └── Interface │ │ │ └── ChargeInterface.php │ │ └── Traits │ │ └── HasEfiClient.php └── PHPay.php └── tests ├── AsaasGatewayTest.php ├── EfiGatewayTest.php ├── PHPayTest.php ├── Pest.php └── TestCase.php /.docker/php/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/.docker/php/Dockerfile -------------------------------------------------------------------------------- /.github/CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/.github/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/.github/SECURITY.md -------------------------------------------------------------------------------- /.github/SUPPORT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/.github/SUPPORT.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/.husky/commit-msg -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/.husky/pre-commit -------------------------------------------------------------------------------- /.husky/pre-push: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/.husky/pre-push -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/LICENSE.md -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/composer.json -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/composer.lock -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /examples/asaas/charges.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/examples/asaas/charges.php -------------------------------------------------------------------------------- /examples/asaas/credentials.example.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/examples/asaas/credentials.example.php -------------------------------------------------------------------------------- /examples/asaas/customers.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/examples/asaas/customers.php -------------------------------------------------------------------------------- /examples/asaas/pix.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/examples/asaas/pix.php -------------------------------------------------------------------------------- /examples/asaas/subscriptions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/examples/asaas/subscriptions.php -------------------------------------------------------------------------------- /examples/asaas/webhook.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/examples/asaas/webhook.php -------------------------------------------------------------------------------- /examples/efi/charges.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/examples/efi/charges.php -------------------------------------------------------------------------------- /examples/efi/credentials.example.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/examples/efi/credentials.example.php -------------------------------------------------------------------------------- /examples/helper/termwind-cli.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/examples/helper/termwind-cli.php -------------------------------------------------------------------------------- /examples/helper/termwind.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/examples/helper/termwind.php -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/package.json -------------------------------------------------------------------------------- /phpstan.neon: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/phpstan.neon -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/phpunit.xml -------------------------------------------------------------------------------- /pint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/pint.json -------------------------------------------------------------------------------- /src/Contracts/GatewayInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/src/Contracts/GatewayInterface.php -------------------------------------------------------------------------------- /src/Exceptions/AsaasExceptions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/src/Exceptions/AsaasExceptions.php -------------------------------------------------------------------------------- /src/Gateways/Asaas/AsaasGateway.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/src/Gateways/Asaas/AsaasGateway.php -------------------------------------------------------------------------------- /src/Gateways/Asaas/Enums/BillingTypeEnum.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/src/Gateways/Asaas/Enums/BillingTypeEnum.php -------------------------------------------------------------------------------- /src/Gateways/Asaas/Enums/InvoiceFiltersEnum.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/src/Gateways/Asaas/Enums/InvoiceFiltersEnum.php -------------------------------------------------------------------------------- /src/Gateways/Asaas/Enums/InvoiceStatusEnum.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/src/Gateways/Asaas/Enums/InvoiceStatusEnum.php -------------------------------------------------------------------------------- /src/Gateways/Asaas/Enums/InvoiceStatusFiscalDocumentEnum.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/src/Gateways/Asaas/Enums/InvoiceStatusFiscalDocumentEnum.php -------------------------------------------------------------------------------- /src/Gateways/Asaas/Interface/AsaasGatewayInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/src/Gateways/Asaas/Interface/AsaasGatewayInterface.php -------------------------------------------------------------------------------- /src/Gateways/Asaas/Requests/AsaasChargeRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/src/Gateways/Asaas/Requests/AsaasChargeRequest.php -------------------------------------------------------------------------------- /src/Gateways/Asaas/Requests/AsaasCustomerRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/src/Gateways/Asaas/Requests/AsaasCustomerRequest.php -------------------------------------------------------------------------------- /src/Gateways/Asaas/Requests/AsaasPixRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/src/Gateways/Asaas/Requests/AsaasPixRequest.php -------------------------------------------------------------------------------- /src/Gateways/Asaas/Resources/Charge/Charge.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/src/Gateways/Asaas/Resources/Charge/Charge.php -------------------------------------------------------------------------------- /src/Gateways/Asaas/Resources/Charge/Enum/WebhookEventsEnum.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/src/Gateways/Asaas/Resources/Charge/Enum/WebhookEventsEnum.php -------------------------------------------------------------------------------- /src/Gateways/Asaas/Resources/Charge/Interface/ChargeInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/src/Gateways/Asaas/Resources/Charge/Interface/ChargeInterface.php -------------------------------------------------------------------------------- /src/Gateways/Asaas/Resources/Customer/Customer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/src/Gateways/Asaas/Resources/Customer/Customer.php -------------------------------------------------------------------------------- /src/Gateways/Asaas/Resources/Customer/Interface/CustomerInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/src/Gateways/Asaas/Resources/Customer/Interface/CustomerInterface.php -------------------------------------------------------------------------------- /src/Gateways/Asaas/Resources/Pix/Interface/PixInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/src/Gateways/Asaas/Resources/Pix/Interface/PixInterface.php -------------------------------------------------------------------------------- /src/Gateways/Asaas/Resources/Pix/Pix.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/src/Gateways/Asaas/Resources/Pix/Pix.php -------------------------------------------------------------------------------- /src/Gateways/Asaas/Resources/Subscription/Interface/SubscriptionInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/src/Gateways/Asaas/Resources/Subscription/Interface/SubscriptionInterface.php -------------------------------------------------------------------------------- /src/Gateways/Asaas/Resources/Subscription/Requests/StoreSubscriptionAsaasRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/src/Gateways/Asaas/Resources/Subscription/Requests/StoreSubscriptionAsaasRequest.php -------------------------------------------------------------------------------- /src/Gateways/Asaas/Resources/Subscription/Subscription.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/src/Gateways/Asaas/Resources/Subscription/Subscription.php -------------------------------------------------------------------------------- /src/Gateways/Asaas/Resources/Webhook/Interface/WebhookInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/src/Gateways/Asaas/Resources/Webhook/Interface/WebhookInterface.php -------------------------------------------------------------------------------- /src/Gateways/Asaas/Resources/Webhook/Webhook.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/src/Gateways/Asaas/Resources/Webhook/Webhook.php -------------------------------------------------------------------------------- /src/Gateways/Asaas/Traits/HasAsaasClient.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/src/Gateways/Asaas/Traits/HasAsaasClient.php -------------------------------------------------------------------------------- /src/Gateways/Efi/EfiGateway.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/src/Gateways/Efi/EfiGateway.php -------------------------------------------------------------------------------- /src/Gateways/Efi/Interface/EfiGatewayInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/src/Gateways/Efi/Interface/EfiGatewayInterface.php -------------------------------------------------------------------------------- /src/Gateways/Efi/Resources/Authorization/Authorization.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/src/Gateways/Efi/Resources/Authorization/Authorization.php -------------------------------------------------------------------------------- /src/Gateways/Efi/Resources/Authorization/Interface/AuthorizationInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/src/Gateways/Efi/Resources/Authorization/Interface/AuthorizationInterface.php -------------------------------------------------------------------------------- /src/Gateways/Efi/Resources/Charge/Charge.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/src/Gateways/Efi/Resources/Charge/Charge.php -------------------------------------------------------------------------------- /src/Gateways/Efi/Resources/Charge/Interface/ChargeInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/src/Gateways/Efi/Resources/Charge/Interface/ChargeInterface.php -------------------------------------------------------------------------------- /src/Gateways/Efi/Traits/HasEfiClient.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/src/Gateways/Efi/Traits/HasEfiClient.php -------------------------------------------------------------------------------- /src/PHPay.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/src/PHPay.php -------------------------------------------------------------------------------- /tests/AsaasGatewayTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/tests/AsaasGatewayTest.php -------------------------------------------------------------------------------- /tests/EfiGatewayTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/tests/EfiGatewayTest.php -------------------------------------------------------------------------------- /tests/PHPayTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/tests/PHPayTest.php -------------------------------------------------------------------------------- /tests/Pest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/tests/Pest.php -------------------------------------------------------------------------------- /tests/TestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpay-io/phpay/HEAD/tests/TestCase.php --------------------------------------------------------------------------------