2017 © Pedro Peláez
 

library laravel-yandex-money-http-notify

image

zzzaaa/laravel-yandex-money-http-notify

  • Wednesday, March 8, 2017
  • by zzzaaa
  • Repository
  • 1 Watchers
  • 0 Stars
  • 61 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 2 % Grown

The README.md

Laravel Yandex Money Http Notification

This package helps to validate yandexMoney http notification. Laravel Middleware stay front of your API and allow only trusted notifications., (*1)

Notification p2p incoming, (*2)

Install

``` bash composer require zzzaaa/laravel-yandex-money-http-notify, (*3)


### install Middleware ```php // app/Http/Kernel.php protected $routeMiddleware = [ ... 'yandexmoney.hash' => \Zzzaaa\LaravelYandexMoneyHttpNotify\Middleware\YandexMoneyHash::class, ];

Add secret key

//config/services.php
...
    'yandex' => [
        'notification_secret' => env('YANDEX_SECRET','SECRET KEY')
    ],

Add middleware to routes


//routes/api.php Route::post('/payment', 'Api\PaymentsController@store')->middleware('yandexmoney.hash');

The Versions

08/03 2017

dev-master

9999999-dev

  Sources   Download

by Alexey Raksha

08/03 2017

v1.0.1

1.0.1.0

  Sources   Download

by Alexey Raksha

08/03 2017

v1.0

1.0.0.0

  Sources   Download

by Alexey Raksha