Download the PHP package overtrue/laravel-payment without Composer
On this page you can find all versions of the php package overtrue/laravel-payment. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download overtrue/laravel-payment
More information about overtrue/laravel-payment
Files in overtrue/laravel-payment
Package laravel-payment
Short Description Omnipay ServiceProvider for Laravel.
License MIT
Informations about the package laravel-payment
Laravel Payment
:credit_card: Omnipay ServiceProvider for Laravel.
Requirements
Version 4 requires PHP 8.3+ and Laravel 13.30+ (within Laravel 13). Laravel 12 and earlier are not supported by this major version.
Installing
The service provider and LaravelPayment facade alias are automatically discovered.
Publish the configuration before using the package:
configuration
install payment gateways
You need to install the gateway you want to use: omnipay#payment-gateways
Usage
Gateway instance:
Using default gateway:
Example:
For more use about Omnipay, please refer to Omnipay Official Home Page
Upgrading from 3.x
- Upgrade your application to PHP 8.3+ and Laravel 13.30+ before installing 4.x.
- The package now uses the Guzzle 7 adapter 1.1+ and Omnipay Common 3.5.1+. Check that your separately installed Omnipay gateways support these versions.
- Existing gateway names, the
paymentcontainer alias, facade, default-option precedence, and per-manager gateway caching are unchanged. - Array option values are still expanded into setter arguments. For a setter
expecting a single array, wrap it in an outer array, for example
'settings' => [['key' => 'value']]. Use positional lists for multi-argument setters. - Unknown option setters are ignored as before. Publish and configure
config/payments.php; publishing does not install a gateway driver.
Development
Tests use an in-process dummy gateway and never send payments or require credentials. CI runs latest dependencies on PHP 8.3, 8.4 and 8.5, plus lowest secure dependencies on PHP 8.3. Upgrade dependencies on newer PHP versions; older transitive versions can emit upstream deprecations on PHP 8.4+. Use current Composer 2.10+ for the abandoned-package blocking policy. No security advisories are bypassed, and abandoned packages are blocked during resolution. The Laravel 13.30 floor excludes earlier vulnerable Laravel 13 releases (GHSA-jh5r-qr3c-85q8).
License
MIT
All versions of laravel-payment with dependencies
laravel/framework Version ^13.30
php-http/guzzle7-adapter Version ^1.1
league/omnipay Version ^3.2.1
omnipay/common Version ^3.5.1