revolution/authorize-manager

Laravel 的 HTTP 客户端授权管理器

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

This package is auto-updated.

Last update: 2024-09-08 11:12:35 UTC


README

Build Status

工作正在进行中。

要求

  • PHP >= 7.2
  • Laravel >= 6.0

安装

composer require revolution/authorize-manager:dev-master

演示

https://github.com/kawax/authorize-project

使用方法

    $credentials = [
        'mail'     => '',
        'password' => '',
    ];

    if (Authorize::driver('sample')->login($credentials)) {
        /**
         * @var \Goutte\Client $client
         */
        $client = Authorize::driver('sample')->client();
        // client with login cookie.
        dump($client);
    }

查看演示项目和文档。

许可证

MIT
版权所有 kawax