Download the PHP package mustafataj/tabby-laravel without Composer

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

Tabby Laravel

Laravel package for Tabby Buy Now Pay Later: checkout sessions, payment capture/refund, and webhooks. Supports sandbox and production, plus regional APIs for UAE/Kuwait (api.tabby.ai) and KSA (api.tabby.sa).

Requirements

Installation

Publish the config:

Configuration

Add credentials to .env:

Variable Description
TABBY_ENV sandbox or production — selects which key pair is used
TABBY_REGION ai (UAE/KW) or sa (KSA)
TABBY_CAPTURE_ON_AUTHORIZE Auto-capture after verify/webhook when payment is AUTHORIZED with no prior captures
TABBY_WEBHOOK_ENABLED Register the incoming webhook route (default true)
TABBY_WEBHOOK_PATH Incoming webhook path (default tabby/webhook)
TABBY_WEBHOOK_URL Absolute URL registered with Tabby (optional)
TABBY_WEBHOOK_AUTH_HEADER Shared secret Tabby sends on webhook POSTs (required when REQUIRE_AUTH=true)
TABBY_WEBHOOK_AUTH_HEADER_NAME Header name registered with Tabby (default X-Tabby-Webhook-Token)
TABBY_WEBHOOK_REQUIRE_AUTH Reject unauthenticated webhooks (default true)
TABBY_WEBHOOK_ENFORCE_IP Restrict webhooks to Tabby IP allowlist
TABBY_WEBHOOK_THROTTLE Laravel throttle string, e.g. 60,1 (set empty to disable)

Environment is determined by the API keys you send (sk_test_… vs sk_…). Base URLs do not change between sandbox and production.

Usage

Eligibility check

Create session and redirect

Verify and capture (return URL)

Never trust the redirect alone — always verify server-side:

Refund

Promo snippet

Ensure your layout yields @stack('scripts').

Official payment method name: Pay later with Tabby / ادفع لاحقًا مع تابي.

Webhooks

Incoming route: POST /tabby/webhook (no web middleware / CSRF; protected by tabby.webhook auth + optional IP allowlist + throttle).

Auth is required by default. Set TABBY_WEBHOOK_AUTH_HEADER, then register so Tabby sends that header:

Registration includes header.title / header.value from your config so Tabby signs each POST.

Listen for events in your app:

Event behaviour:

Make fulfillment handlers idempotent — Tabby may deliver duplicates.

Going live

  1. Complete Tabby’s testing checklist
  2. Set TABBY_ENV=production and live keys
  3. For KSA merchants set TABBY_REGION=sa
  4. Re-register webhooks with the production secret key

Docs

License

MIT


All versions of tabby-laravel with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/console Version ^10.0|^11.0|^12.0|^13.0
illuminate/contracts Version ^10.0|^11.0|^12.0|^13.0
illuminate/events Version ^10.0|^11.0|^12.0|^13.0
illuminate/http Version ^10.0|^11.0|^12.0|^13.0
illuminate/routing Version ^10.0|^11.0|^12.0|^13.0
illuminate/support Version ^10.0|^11.0|^12.0|^13.0
illuminate/view Version ^10.0|^11.0|^12.0|^13.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 mustafataj/tabby-laravel contains the following files

Loading the files please wait ...