We are aware that there are hundreds of PHP tutorials online on how to create a Shopify app using PHP, but in this course, we’ll tackle all the components that you may want to add to your Shopify app like displaying products and such.
Now before we proceed, Shopify made an update with their API where they version their API quarterly also known as API versioning. It is important to know that Shopify will always make updates to their API so if you are developing Shopify apps, then you should also keep your apps updated.
Update in 2023
If you’re not aware, Shopify is encouraging most developers to create Shopify apps through their CLI and so, if you’re interested to learn how to create Shopify apps using Shopify CLI and PHP/Laravel, we’ve managed to compile a series of videos teaching how to create Shopify apps in Laravel.
What is Shopify?
Shopify is one of the most popular e-commerce platforms and provides a great opportunity for developers to build and monetize their own web applications. With the ever-evolving technology, building Shopify apps has become easier and more efficient thanks to Shopify CLI. In this blog, we’ll explore the latest technologies and tools for creating Shopify apps in 2023.
What is Shopify PHP?
There’s no such thing called “Shopify PHP”, but to make it understandable to you. PHP is a programming language for web development that can be used to develop a Shopify app. Though there are PHP Frameworks that you can use as well to build a Shopify app like Laravel.
In 2023, you can now create Shopify apps simply by using Shopify CLI.
Is it hard to do Shopify App Development?
Building your own Shopify Apps is very easy, all you need is to understand how the API works. Shopify is a Rails application, there are lots of Shopify repositories that you can use for FREE to integrate your website into Shopify API. Here’s the list:
Personally, I use this Shopify API Client made by Alex here:
Shopify Generating API Token Guide
To begin, you have to create a new Shopify app in your Shopify Developer account, so if you don’t have an account yet, you can sign up by visiting developers.shopify.com
Building Your Own Shopify App with PHP
In this article, we’re going to learn how to make a
Proceed to left navigation panel and click the Apps category
Click Create app and select what type of app you wish to build. Custom app or Public app? For custom apps, you can only install the app to one Shopify store with no need for Shopify to review your app. However, with public apps, Shopify will need to review your app in order for Shopify stores to install your Shopify app.
After selecting, that should give you the following form.
App Name – The name of the Shopify application you’re about to create.
App URL – The URL of your website where you’re going to upload your Shopify files
Whitelisted Redirection URL(s) – This is where you’re going to list your generate token script or URLs you need as you authenticate your Shopify.
For web hosting, we recommend getting it from Hostinger as it’s more compatible with Shopify especially if you’re just getting started.
Once you’re done, filling out the form, click Create app
Now that we have our first Shopify app created, it’s time to make our website connected using these API credentials. To do this, download at least one of the Shopify repositories that I have provided in this article.
Create Shopify Apps for Storefront
Customize and add more features to your Shopify store using Shopify apps!
To continue with this project, you may proceed to this article.
In part 2, we’ll be using the credentials that we have to connect it to PHP. If you’re interested, proceed to this article below: