grechanyuk / freekassa
FreeKassa payments for Laravel
Requires
- ext-simplexml: *
- guzzlehttp/guzzle: ^6.3
- illuminate/support: ~5
Requires (Dev)
- mockery/mockery: ^1.1
- orchestra/testbench: ~3.0
- phpunit/phpunit: ~7.0
- sempro/phpunit-pretty-print: ^1.0
This package is not auto-updated.
Last update: 2025-02-16 10:53:43 UTC
README
This is where your description should go. Take a look at contributing.md to see a to do list.
Installation
Via Composer
$ composer require grechanyuk/freekassa
$ php artisan vendor:publish --provider="Grechanyuk\FreeKassa\FreeKassaServiceProvider" --tag="freekassa.config"
Из конфигурационного файла ссылку для принятия уведомлений о статусах платежа от FreeKassa необходимо добавить в исключения CSRF защиты.
Для этого добавьте в файл App\Http\Middleware\VerifyCsrfToken
:
protected $except = [ '/api/freekassa/notificate' ];
В файл Kernel.php
добавьте новый Middleware, в секцию protected $routeMiddleware
:
'freekassa' => \Grechanyuk\FreeKassa\Middlewares\FreeKassaNotificationChecker::class,
Usage
Change log
Please see the changelog for more information on what has changed recently.
Testing
$ composer test
Contributing
Please see contributing.md for details and a todolist.
Security
If you discover any security related issues, please email author email instead of using the issue tracker.
Credits
License
license. Please see the license file for more information.