Download the PHP package redpic/antigate without Composer
On this page you can find all versions of the php package redpic/antigate. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package antigate
antigate-laravel
antigate.com API Laravel 5.1 package
Инструкция
Установите пакет: composer require redpic/antigate
Добавьте сервис-провайдер в config/app.php
:
Опубликуйте конфиг: php artisan vendor:publish
и впишите в него токен доступа: config/antigate.php
Создайте два слушателя событий:
php artisan make:listener test --event CaptchaWasRecognized
php artisan make:listener test --event CaptchaWasNotRecognized
Приведите их к виду:
app/Listeners/CaptchaWasRecognizedListener.php
:
app/Listeners/CaptchaWasNotRecognizedListener.php
:
Зарегистрируйте слушатели app/Providers/EventServiceProvider.php
:
Добавление задания из контроллера выглядит примерно так:
All versions of antigate with dependencies
PHP Build Version
Package Version
Requires
illuminate/support Version
5.1.*
illuminate/contracts Version 5.1.*
illuminate/queue Version 5.1.*
illuminate/bus Version 5.1.*
guzzlehttp/guzzle Version ^6.0
illuminate/contracts Version 5.1.*
illuminate/queue Version 5.1.*
illuminate/bus Version 5.1.*
guzzlehttp/guzzle Version ^6.0
The package redpic/antigate contains the following files
Loading the files please wait ....