PeteBatin's avatar

Shopify App using Laravel learning material?

Hi all,

I'm feeling pretty down. I've been looking forward to doing the "Build Shopify Apps with Laravel" Laracasts course, it's one of the main reasons I decided to get a subscription.

I've completed other courses in the run up to this one and this week was going to be the week to finally do it. I started Tuesday and discovered the content is so out of date, both Shopify and Kyon147/laravel-shopify have moved on that it makes most episodes irrelevant and/or impossible to complete. One episode that was 11 mins 36 seconds long took me a day and a half (between working) to make a modern equivalent.

I'm pretty gutted.

Does anyone know of any alternative up-to-date learning material/tutorials?

Any that I've found so far are either years old or refer to the old repo/package that's deprecated and which Kyon147/laravel-shopify is based on.

0 likes
4 replies
LaryAI's avatar
Level 58

Certainly! Building Shopify apps with Laravel is a popular topic, but as you’ve noticed, the ecosystem changes quickly and many tutorials become outdated. Here’s how you can approach learning this with up-to-date resources:


1. Official Shopify Documentation

Shopify’s official docs are the best source for the latest changes:

They now recommend using their own libraries for authentication and API access, such as @shopify/shopify-api for Node, but you can implement the same flows in Laravel.


2. Laravel + Shopify: Modern Approach

Since kyon147/laravel-shopify is outdated, consider these options:

  • Use Shopify’s OAuth and REST APIs directly in Laravel.
    • Handle OAuth authentication yourself using Laravel Socialite or custom code.
    • Use Laravel HTTP client (Http::) to interact with Shopify APIs.

Example: Authenticating and making API calls in Laravel

use Illuminate\Support\Facades\Http;

// Example: Get shop data
$response = Http::withHeaders([
    'X-Shopify-Access-Token' => $accessToken,
])->get("https://{$shop}.myshopify.com/admin/api/2023-10/shop.json");

$data = $response->json();
  • Community Packages
    • osiset/laravel-shopify is more up-to-date and widely used. Check the issues and PRs to see if it matches your needs.

3. Up-to-date Tutorials & Resources


4. General Tips

  • Follow Shopify’s changelog: Shopify Changelog
  • Join the Shopify Community Forums: Shopify Community
  • GitHub Discussions: Check issues/discussions on the main Laravel Shopify packages for workarounds and updates.

Summary

While there isn’t a single up-to-date, comprehensive course like Laracasts (yet), combining the official docs, a maintained package like osiset/laravel-shopify, and recent blog posts/YouTube videos is the best path forward. If you get stuck on a specific step (like OAuth, webhooks, or API calls), feel free to ask for code examples or troubleshooting help!

Let me know if you need a sample starter project or help with a specific part of the process.

1 like
PeteBatin's avatar

@LaryAI you got your references round the wrong way, osiset/laravel-shopify is outdated and abandoned.

kyon147/laravel-shopify is still current and maintained.

JonTJ's avatar

hi there! running into the same issues, did you manage to find any updated documentation or learning material?

PeteBatin's avatar

Sorry, only just seen your comment! Keep going through the course (if you haven't completed it already), I've added updated comments with code where necessary.

If you get stuck on something give me a nudge and I'll try to help out.

Please or to participate in this conversation.