Download the PHP package fadhila36/sumopod-pay-laravel without Composer

On this page you can find all versions of the php package fadhila36/sumopod-pay-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 sumopod-pay-laravel

SumoPod Pay for Laravel

Latest Version on Packagist Total Downloads

Unofficial Laravel SDK for the SumoPod Payment Gateway. This package provides a seamless integration with SumoPod, allowing you to create payments and handle secure webhooks directly within your Laravel application.

[!WARNING] Disclaimer: This package is an unofficial SDK created by a third party. It is not affiliated with, maintained, authorized, endorsed, or sponsored by SumoPod. All trademarks, service marks, and trade names of SumoPod used herein are the property of SumoPod.

Features


Installation

You can install the package via composer:

After installing, run the interactive install command:

This command will:

  1. Publish the config/sumopod-pay.php file to your app.
  2. Automatically append the required SumoPod variables to your .env and .env.example files if they don't exist yet.

(Note: We provide an .env.example inside this package if you prefer to see the variables manually, but the install command handles adding them to your project automatically!)

Environment Variables

Make sure to fill in your API key in your .env file:


Usage

Creating a Payment

You can use the provided SumoPod Facade to interact with the API cleanly:


Webhooks

This package automatically registers a highly secure webhook endpoint at /sumopod/webhook (you can change this path in the config file).

The endpoint uses a dedicated middleware (VerifyWebhookSignature) to ensure the request genuinely came from SumoPod by computing the Svix-style HMAC signature or checking the Static Token.

Listening to Webhook Events

When a valid webhook is received, the package dispatches a standard Laravel event: Fadhila36\SumoPodPay\Events\SumoPodWebhookReceived.

To handle webhooks, simply create a listener for this event in your Laravel app:

Register your listener in your EventServiceProvider:


Checking API Connection

We provide a handy artisan command to verify your API key and connection to the SumoPod servers:


Testing

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

License

The MIT License (MIT). Please see License File for more information.


All versions of sumopod-pay-laravel with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/contracts Version ^11.0|^12.0
illuminate/http Version ^11.0|^12.0
illuminate/support Version ^11.0|^12.0
guzzlehttp/guzzle Version ^7.8
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 fadhila36/sumopod-pay-laravel contains the following files

Loading the files please wait ...