Create app in php

Highlighted
Anonymous
Not applicable
1160 0 0

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

0 Likes
Highlighted
Shopify Partner
6 0 1

Hi Villiam,

Did you try the Shopify PHP App code?

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

Regards,

Jon

1 Like
Highlighted

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

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

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