Download the PHP package qbe-digital/payments without Composer
On this page you can find all versions of the php package qbe-digital/payments. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package payments
Laravel Payments
A unified payments package for Laravel, supporting Tabby and Tamara with a clean, driver-based architecture.
Features
- đ Driver-based architecture â Switch payment providers with zero code changes
- đĒ Webhook handling â Automatic signature validation and normalized event dispatching
- đŗ Checkout sessions â Unified API for creating payment sessions
- âŠī¸ Refunds â Full and partial refund support
- đĻ Installments â BNPL support for Tabby & Tamara
- đ Transaction logging â Built-in migration and model for tracking payments
- đ§Š Billable trait â Add
pay()to any Eloquent model
Installation
Publish the config:
Publish the migrations:
Configuration
Add your credentials to .env:
Usage
Basic Checkout
Verify Payment
Refund
Billable Trait
Add the Billable trait to any model:
Webhooks
Webhook routes are registered automatically:
Listen for events in your EventServiceProvider:
Transaction Records
When transaction persistence is enabled (default), the package keeps a
payment_transactions row in sync through the payment lifecycle:
$model->pay()(via theBillabletrait) records a pending row linked to the payable model.- Payment/refund webhooks update the row to paid, failed, or refunded
(and stamp
paid_at) through built-in event listeners.
Opt out or swap the backing model in config/payments.php:
Installments (Tabby & Tamara)
Feature Detection
Adding a Custom Driver
-
Extend
AbstractDriver: - Register in your
AppServiceProvider:
Testing
License
MIT
All versions of payments with dependencies
illuminate/support Version ^10.0|^11.0|^12.0|^13.0
illuminate/database Version ^10.0|^11.0|^12.0|^13.0
illuminate/http Version ^10.0|^11.0|^12.0|^13.0
guzzlehttp/guzzle Version ^7.0