revolution/authorize-manager

Authorize HTTP Client Manager for Laravel

dev-master 2020-03-08 01:16 UTC

This package is auto-updated.

Last update: 2024-05-08 10:25:40 UTC


README

Build Status

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