Download the PHP package joymendonca/shopify-oauth-laravel without Composer
On this page you can find all versions of the php package joymendonca/shopify-oauth-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download joymendonca/shopify-oauth-laravel
More information about joymendonca/shopify-oauth-laravel
Files in joymendonca/shopify-oauth-laravel
Package shopify-oauth-laravel
Short Description A simple package to make Shopify App Oauth easy.
License MIT
Homepage https://github.com/joymendonca/shopify-oauth-laravel
Informations about the package shopify-oauth-laravel
Shopify OAuth Laravel Package
This package provides a convenient way to integrate Shopify OAuth authentication into your Laravel application. It simplifies the process of setting up OAuth with Shopify, allowing you to focus on building your application's features rather than dealing with the intricacies of authentication.
Installation
You can install this package via Composer. Run the following command in your terminal:
Configuration
After installing the package, you'll need to publish and run the migrations with:
You can also publish the config file using:
You will now need to setup the environment variables in your .env file:
You can register the routes using the code below in web.php:
Make sure the app install url registered in your shopify app is "https://your-website.com/shopify-app-auth/install" and the redirect url is "https://your-website.com/shopify-app-auth/load"
Usage
Once the package is installed and configured, you can start using Shopify OAuth in your Laravel application.
You can get the access token and store url of the logged in as below:
All versions of shopify-oauth-laravel with dependencies
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^10.0
illuminate/database Version ^10.0
illuminate/http Version ^10.0
illuminate/routing Version ^10.0
illuminate/support Version ^10.0