ApiChef PayHere provides an expressive, fluent interface to PayHere’s payment services.
You can install the package via composer:
composer require apichef/laravel-pay-here
Laravel | Minimum Versions |
---|---|
6.x | ^1.0.0 |
7.x | ^2.0.0 |
8.x | ^2.0.0 |
9.x | ^3.0.0 |
10.x | ^4.0.0 |
11.x | ^4.0.0 |
You can publish the config file with:
php artisan vendor:publish --provider="ApiChef\PayHere\PayHereServiceProvider" --tag="config"
If your application accepting one time payments, you need to publish payments migration:
php artisan vendor:publish --provider="ApiChef\PayHere\PayHereServiceProvider" --tag="migrations:payments"
If your application supporting subscriptions, you need to publish subscriptions migration:
php artisan vendor:publish --provider="ApiChef\PayHere\PayHereServiceProvider" --tag="migrations:subscriptions"
Migrate
php artisan migrate
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.