faiverson / merchants
Using a merchant handler to use with laravel
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/faiverson/merchants
Requires
- php: >=5.6.0
- anlutro/curl: ^1.4
- illuminate/config: ~5.2
- illuminate/console: ~5.2
- illuminate/support: ~5.2
- stripe/stripe-php: 3.*
This package is not auto-updated.
Last update: 2025-10-12 01:08:14 UTC
README
Use different merchant with Laravel for a direct sale/transaction
Installation
Using composer
composer require merchant-handler
Or add to composer.json
"faiverson/merchant-handler" : "^1.0.0"
How to use
Go to the app.php and add in the providers:
composer require merchant-handler
Faiverson\Merchant\MerchantServiceProvider::class,
The you can inject the dependency in your object 'use Faiverson\Merchant\contract\Merchant;'
public function __construct(Merchant $merchant)
And you can use the 2 methods: purchase and refund