Download the PHP package netipar/simplepay without Composer

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

SimplePay for Laravel

Latest Version on Packagist Tests Total Downloads

Modern Laravel package for SimplePay online payment integration. Start payments, handle IPN webhooks, manage card storage, process refunds, and more.

Based on the official SimplePay PHP SDK v2.1, rebuilt for Laravel with typed DTOs, Enums, Events, and full API coverage.

Quick Example

Requirements

Installation

Publish the config file:

Add your merchant credentials to .env:

Usage

Obtaining the Services

Access all services through the SimplePay facade:

Start a Payment

Two-Step Payment (Authorize + Finish)

Refund a Transaction

Query Transaction Status

Cancel a Transaction

Card Storage (OneClick Payments)

Recurring Payments

Apple Pay

EAM / Qvik Payment

Request to Pay (RTP)

IPN Webhook

The package automatically registers a POST /simplepay/ipn route with signature verification middleware. Listen to payment events in your application:

Available events (all receive IpnMessage DTO):

Event Trigger
IpnReceived Every IPN notification
PaymentSucceeded FINISHED status
PaymentAuthorized AUTHORIZED (two-step)
PaymentFailed NOTAUTHORIZED
PaymentCancelled CANCELLED
PaymentTimedOut TIMEOUT
PaymentRefunded REFUND

The IpnMessage DTO contains:

Back URL Handling

The package registers a GET /simplepay/back route. Customize the response by binding your own BackUrlResponse in AppServiceProvider:

Enums

Always use enum cases instead of raw strings:

Error Handling

The package throws SimplePayApiException when the SimplePay API returns error codes:

Configuration

Key .env variables:

Multi-currency support -- each currency has its own merchant credentials:

Logos and Assets

The package includes the official SimplePay merchant logo pack. Publish the assets:

This copies logos and pre-composed variations to public/vendor/simplepay/.

Usage in Blade, Vue.js, or React:

Available logos: SimplePay (multiple sizes/orientations + white variants), Visa, Mastercard, Maestro, Amex, Apple Pay, Google Pay, Qvik, OTP SZÉP. Pre-composed card type combinations are also included. See examples for Blade, Vue.js, and React checkout page examples.

Logging

Set SIMPLEPAY_LOG_CHANNEL to any Laravel log channel name. Example dedicated channel in config/logging.php:

Services Overview

Service Access Purpose
PaymentService SimplePay::payment() Standard payments, refunds, queries, Apple Pay, EAM
CardStorageService SimplePay::cardStorage() OneClick, recurring, card/token management
AutoPaymentService SimplePay::autoPayment() PCI-DSS direct card payments
RtpService SimplePay::rtp() Request to Pay (bank transfers)

SDK Compatibility

This package is built based on the SimplePay PHP SDK v2.1 (API v2). All API requests include the sdkVersion: SimplePay_PHP_SDK_2.1_Laravel identifier.

Examples

Testing

Credits

License

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


All versions of simplepay with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/support Version ^11.0|^12.0
illuminate/http Version ^11.0|^12.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 netipar/simplepay contains the following files

Loading the files please wait ...