revolution / authorize-manager
Authorize HTTP Client Manager for Laravel
dev-master
2020-03-08 01:16 UTC
Requires
- php: ^7.2||^8.0
- fabpot/goutte: ^4.0
- guzzlehttp/guzzle: ^6.3||^7.0
- illuminate/support: *
Requires (Dev)
- mockery/mockery: ^1.0
- orchestra/testbench: ^4.0||^5.0
- phpunit/phpunit: ^8.0||^9.0
This package is auto-updated.
Last update: 2024-11-08 11:39:05 UTC
README
Work in progress.
Requirements
- PHP >= 7.2
- Laravel >= 6.0
Installation
composer require revolution/authorize-manager:dev-master
Demo
https://github.com/kawax/authorize-project
Usage
$credentials = [ 'mail' => '', 'password' => '', ]; if (Authorize::driver('sample')->login($credentials)) { /** * @var \Goutte\Client $client */ $client = Authorize::driver('sample')->client(); // client with login cookie. dump($client); }
See demo project and docs.
LICENSE
MIT
Copyright kawax