PHPackages                             ghostwriter/phormat - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. ghostwriter/phormat

ActiveLibrary

ghostwriter/phormat
===================

PHP code formatter

0.1.x-dev(1mo ago)140.0k1BSD-3-ClausePHPPHP ~8.4.0 || ~8.5.0

Since Jan 8Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/ghostwriter/phormat)[ Packagist](https://packagist.org/packages/ghostwriter/phormat)[ Docs](https://github.com/ghostwriter/phormat)[ GitHub Sponsors](https://github.com/sponsors/ghostwriter)[ RSS](/packages/ghostwriter-phormat/feed)WikiDiscussions 0.1.x Synced 1mo ago

READMEChangelogDependencies (10)Versions (5)Used By (0)

Phormat
=======

[](#phormat)

[![GitHub Sponsors](https://camo.githubusercontent.com/3749a2990900628bf725adc3933786684f32c3e821570f60f78e84ea64e6283b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73706f6e736f72732f67686f73747772697465723f6c6162656c3d53706f6e736f722b4067686f73747772697465722f70686f726d6174266c6f676f3d4769744875622b53706f6e736f7273)](https://github.com/sponsors/ghostwriter)[![Automation](https://github.com/ghostwriter/phormat/actions/workflows/automation.yml/badge.svg)](https://github.com/ghostwriter/phormat/actions/workflows/automation.yml)[![Supported PHP Version](https://camo.githubusercontent.com/c6e0df84b4dea7f50ba75908e1aa3a5aca672c01c0086267c8ddf9dafd58a42b/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f7068702f67686f73747772697465722f70686f726d61743f636f6c6f723d383839326266)](https://www.php.net/supported-versions)[![Downloads](https://camo.githubusercontent.com/714baf5ab0f35a361c96889aea92fd7211f8327d7630f0d5a680c6c874cc57c7/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f64742f67686f73747772697465722f70686f726d61743f636f6c6f723d626c7565)](https://packagist.org/packages/ghostwriter/phormat)

PHP code formatter.

Warning

This project is not finished yet, work in progress.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require ghostwriter/phormat
```

### Star ⭐️ this repo if you find it useful

[](#star-️-this-repo-if-you-find-it-useful)

You can also star (🌟) this repo to find it easier later.

Usage
-----

[](#usage)

```
vendor/bin/phormat  --dry-run
```

Configuration
-------------

[](#configuration)

wip - work in progress

```
