Join us for an upcoming Shopify Partner webinar on February 27, 2024. Discover the latest Checkout Extensibility features, and deep dive on improvements to Shopify Functions and Web Pixels. Register now for either the 10am EST or 2pm EST sessions.

How to use laravel to create app with extension?

devPramod
Shopify Partner
16 0 11

Hello,
I am trying to create an app with Shopify cli and php but in the latest update, Shopify removed the Laravel support.
So is there any solution to use Laravel with cli extension?

Replies 3 (3)

SBD_
Shopify Staff
1788 263 383

Hey @devPramod 

 

Not right now. Hopefully there's more support in future!

Scott | Developer Advocate @ Shopify 

kkang
Shopify Partner
7 1 2

Some extension seem to require authentication with the app server. If the app server is not created by the CLI, such as an existing server running in a non-javascript language,  is there a way to create extension using the Shopify cli, and have the extension integrate with app server?

 

Basically the app extension document says that: app uses extension should adhere the same authentication requirement. Is that all we need to do to have the extension work with the app server? and are there anyways to customize the authentication endpoints which the extensions should use?

 

If we couldn't customize the auth endpoint for the extension, we could change our apps to fit the extension's setting. Based on this auth doc, it seems I need to know three endpoints the extension may connect to.  Is that all?

kkang
Shopify Partner
7 1 2

I don't know how that works, but tested that authentication using a 3rd party library "kyon147/laravel-shopify" works for Shopify apps and extensions. So maybe we got to create app with that library for now.