d
Topic
Villiam Member
Posts:
2
5 months ago

Create app in php

Hello,

I want to create a app using PHP without any framwork and cms. 

As per my search on google I need the install.php file in my app. But my query over here is that who shopify post the user shop url to my install.php file in my app.

And what is the attribute they use if they post shop URL to my app.

$_POST['shop']

OR

$_POST['store']
 

After that I make my futher code accordingly and start building my app and reach to end without any issue.

Thanks,

Villiam

i
Replies
Posts:
6
4 months ago

Hi Villiam,

Did you try the Shopify PHP App code?

https://github.com/Shopify/shopify-php-app

Regards,

Jon

Posts:
28
3 months ago

Or https://github.com/LukeTowers/php-shopify-api

Direct answer for your question is - shop ($_GET['shop'])

Shopify App / Theme developer https://mpthemes.net/