prettier / prettier/plugin-php

State of formatting php with html?

Open
#2,445 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
1.9k
Forks
139
PR merge metrics
No merged PRs in 30d

Description

I was just looking for the current status regarding:

... Formatting of files that contain mixed PHP and HTML is still considered unstable - please 
see open issues with the tag inline for details.

If you want to use the plugin in production, we recommend limiting its scope to pure PHP files.

It looks like some progress has been made but wondering how far a long it is/isn't?

Thanks
Mike

Contributor guide

Open the contributing guide

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

Start by reviewing the plugin's current guidance for mixed PHP and HTML formatting and the open issues tagged inline, as referenced in the issue. Determine what support exists beyond pure PHP files and document the current production-readiness status; the issue does not name files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.