Download the PHP package kayintveen/laravel-paynl without Composer

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

Laravel Pay.nl Wrapper

Latest Version on Packagist Total Downloads License

A clean, modern, and professional Laravel wrapper for the Pay.nl payment gateway. This package provides a fluent interface for integrating Pay.nl payments into your Laravel 11 and Laravel 12 applications.

Features

Requirements

Installation

Install the package via Composer:

The service provider and facade are automatically registered via Laravel's package auto-discovery.

Configuration

Publish the configuration file (optional):

Add your Pay.nl credentials to your .env file:

You can find your API credentials in your Pay.nl dashboard under Settings > API tokens.

Usage

Starting a Transaction

Getting Transaction Info

Checking Transaction Status

Refunding a Transaction

Getting Available Payment Methods

Managing Transactions

Getting QR Code

Using Dependency Injection

Instead of the facade, you can also inject the PayNLClient directly:

Available Methods

Transaction Methods

Method Description
startTransaction(array $options) Start a new payment transaction
getTransaction(string $transactionId) Get transaction details
getTransactionStatus(string $transactionId) Get transaction status
approveTransaction(string $transactionId) Approve a transaction
declineTransaction(string $transactionId) Decline a transaction
voidTransaction(string $transactionId) Void a transaction
captureTransaction(string $transactionId, ?array $options) Capture a transaction

Refund Methods

Method Description
refundTransaction(string $transactionId, ?int $amount, ?string $description, ?array $options) Refund a transaction
getRefund(string $refundId) Get refund details

Payment Methods

Method Description
getPaymentMethods() Get available payment methods

QR Code Methods

Method Description
getQrCode(string $transactionId, array $options) Get QR code for transaction

Utility Methods

Method Description
getServiceId() Get configured service ID
isTestMode() Check if test mode is enabled

Testing

Enable test mode in your .env:

In test mode, no real transactions will be processed.

Exception Handling

The package throws PayNLException when operations fail:

Code Quality

This package follows Laravel coding standards and is formatted with Laravel Pint:

Security

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

Credits

License

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

About Pay.nl

Pay.nl is a payment service provider that offers various payment methods including iDEAL, credit cards, PayPal, and many more. This package provides a Laravel-friendly wrapper around their PHP SDK.

Support

Changelog

Please see CHANGELOG for recent changes.


All versions of laravel-paynl with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1|^8.2|^8.3
illuminate/support Version ^11.0|^12.0
paynl/sdk Version ^1.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 kayintveen/laravel-paynl contains the following files

Loading the files please wait ...