prettier / prettier/plugin-php

Add PHP as an official Prettier language - No More Prettier Plugin

Open
#2,388 2 comments 5 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

Please add PHP as an official language supported in the main Prettier package.

For me to get Prettier formatting when working with PHP, I need to install the prettier NPM package and this plugin package from NPM and create a .prettierrc file and setup the .prettierrc file unlike the other languages like HTML, CSS and JS were I just simply install the VSCode extension and configure the extension in the VSCode settings.

PHP is a popular web language and is used by many CMS like Wordpress and Drupal.

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

The issue names no files, tests, or entry points. Start by reviewing how plugin-php currently integrates with the Prettier ecosystem and how the main Prettier package registers supported languages. Done means PHP is supported by the main package without separately installing this plugin or configuring a .prettierrc file.

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
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.