mcarrowsmith-packages/oauth2-shopify
最新稳定版本:v1.0
Composer 安装命令:
composer require mcarrowsmith-packages/oauth2-shopify
包简介
README 文档
README
OAuth2 Shopify
PHP OAuth 2.0 provider for Shopify extending PHP League's OAuth Client.
Installation
You can install the package via composer:
composer require mcarrowsmith/oauth2-shopify
Usage
Make sure you have configured and app via your Shopify Partner account.
$provider = new \McArrowsmithPackages\Oauth2Shopify\ShopifyProvider([ 'shop' => '{example-shopify-store}.myshopify.com', 'clientId' => '{shopify-add-id}', 'clientSecret' => '{shopify-app-secret}', 'redirectUri' => 'https://{example-ngrok-subdomain}.ngrok.io/login' ]);
See web/login/index.php for full workflow example.
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
统计信息
- 总下载量: 152
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-10-06