Download the PHP package jeffreyvanhees/laravel-online-payment-platform without Composer

On this page you can find all versions of the php package jeffreyvanhees/laravel-online-payment-platform. 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-online-payment-platform

Laravel Online Payment Platform SDK

Latest Version on Packagist Tests Coverage Total Downloads

A modern Laravel package for integrating with the Online Payment Platform API. Built with SaloonPHP and Spatie Laravel Data for an excellent developer experience.

[!WARNING]
This package is not affiliated with, endorsed by, or officially connected to Online Payment Platform B.V. It is an independent, community-driven implementation for integrating with their API. Also, this package is not intended for production use yet. It is still in development and may contain breaking changes.

โœจ Features

๐Ÿ“‹ Requirements

๐Ÿš€ Installation

Install the package via Composer:

Publish the configuration file:

Configure your API credentials and URLs in your .env file:

๐Ÿ“š API Documentation

๐Ÿ“‹ API Endpoints Index


๐ŸŽฏ Usage

The package provides multiple ways to interact with the Online Payment Platform API:

Using the Facade (Recommended)

The facade provides the cleanest and most Laravel-like API:

Using Dependency Injection

Inject the connector directly into your classes (or create instances using the make() method):

Using Type-Safe DTOs

For maximum type safety and IDE support, use the provided Data Transfer Objects:

Merchants

Update Operations

The SDK provides comprehensive update functionality for all merchant-related resources:

Sandbox Testing & Status Updates

For testing purposes, the SDK provides sandbox-only methods to simulate status changes:

Flexible Input Types

All SDK methods accept both DTOs and arrays for maximum flexibility:

Transactions

Refunds

Global Settlements

Charges

Mandates

Withdrawals

Disputes

Files

Partners

Pagination

When building API integrations, you may encounter scenarios where the server doesn't provide all results in a single response. Instead, it divides results into several pages. This strategy is called pagination, and integrating it into your application can be tedious and repetitive.

With this SDK, you can leverage SaloonPHP's powerful pagination plugin to reduce boilerplate code and iterate through every result across every page in one loop. When you set a limit, it will automatically fetch as many pages as necessary to get all results.

Key Benefits:

โš™๏ธ Configuration

The configuration file (config/opp.php) allows you to customize various aspects:

๐Ÿšจ Error Handling

The package provides detailed exception handling:

๐Ÿงช Testing

Run the test suite:

Test Coverage

The package includes comprehensive tests covering all API endpoints with 85.2% code coverage:

Coverage reports are generated in multiple formats:

๐Ÿ“– Advanced Usage

Custom HTTP Client Configuration

Note: The package automatically registers the connector in Laravel's service container using the configuration from config/opp.php. No manual service provider binding is needed.

๐Ÿš€ Releases

This package uses automated versioning and releases:

Manual Release Trigger

You can also manually trigger a release via GitHub Actions:

  1. Go to Actions โ†’ Release workflow
  2. Click "Run workflow"
  3. Select the version bump type (patch/minor/major)

๐Ÿค Contributing

Please see CONTRIBUTING.md for details on how to contribute.

๐Ÿ“ License

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

๐Ÿ™ Credits


All versions of laravel-online-payment-platform with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
saloonphp/pagination-plugin Version ^2.2
saloonphp/saloon Version ^3.0
spatie/laravel-data Version ^4.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 jeffreyvanhees/laravel-online-payment-platform contains the following files

Loading the files please wait ...