Download the PHP package paytabs/laravel-sdk without Composer

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

PayTabs Laravel SDK

Official PayTabs Laravel SDK for Payment Gateway integrations. This package provides a Laravel-friendly wrapper around the PayTabs PHP SDK, making it easy to integrate PayTabs payment services into your Laravel application.

PayTabs PHP SDK

Features

Requirements

Installation

Install the package via Composer:

Publish the configuration file:

Quick Start

1. Configure Environment Variables

Add the following to your .env file:

2. Create a Payment Request

3. Handle IPN Callbacks

The package automatically registers an IPN route at /paytabs/ipn. Configure your IPN handler in config/paytabs.php:

Create your handler:

Documentation

Configuration

The package configuration file config/paytabs.php includes the following options:

Option Description Default
endpoint PayTabs endpoint region code ARE
profile_id Your PayTabs profile ID -
server_key Your PayTabs server key -
auto_fill_plugin_info Automatically add Laravel SDK info to requests true
load_routes Load package routes automatically true
ipn_enabled Enable IPN handling true
ipn_route_path Custom IPN route path paytabs/ipn
ipn_route_middleware Middleware for IPN route ['api', 'throttle:60,1']
ipn_handler Required IPN handler class -
ipn_profile_resolver Custom profile resolver class -
ipn_idempotency_enabled Enable IPN idempotency checks true
ipn_idempotency_cache_store Cache store for idempotency null (default)
ipn_idempotency_key_prefix Cache key prefix paytabs:ipn
ipn_idempotency_ttl_seconds Idempotency lock TTL 180
ack_on_handler_exception Acknowledge IPN even if handler fails false
ipn_time_guard_enabled Enable transaction time Guard true
ipn_time_guard_ttl_seconds Transaction time guard TTL (seconds) 3600
ipn_time_guard_future_skew_seconds Tolerance for IPNs ahead of server time 300

Using Multiple Profiles

If you need to use different PayTabs profiles for different transactions:

Security

Support

For issues and questions:

License

This package is distributed under a proprietary license. See LICENSE.md for full terms.


All versions of laravel-sdk with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
paytabs/php-sdk Version ^3.2.4
illuminate/cache Version ^10.0|^11.0|^12.0|^13.0
illuminate/config Version ^10.0|^11.0|^12.0|^13.0
illuminate/contracts 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/log 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 paytabs/laravel-sdk contains the following files

Loading the files please wait ...