Shopify / Shopify/shopify-app-template-php

Can not create new app with shopify-cli after new update

Open
#461 2 comments 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
340
Forks
108
PR merge metrics
No merged PRs in 30d

Description

Issue summary

I need to create a new shopify app using Shopify-cli after the new update cli can not support PHP templates allies is supported.

Expected behaviour

Create a Shopify PHP app using Shopify-cli.

Actual behaviour

Getting an error when I run the bellow command in the terminal.
Only remix, none template aliases are supported

Only remix, none template aliases are supported

Steps to reproduce the problem

Node: v18.12.1
npm: 8.19.2
then run below command

  1. npm init @shopify/app@latest -- --template php

image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure with Node v18.12.1 and npm init @shopify/app@latest -- --template php, then trace where the Shopify CLI validates template aliases. Confirm how the PHP template is registered and make the command create a PHP app without the unsupported-alias error.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, php
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.