phpf

PHP formatting - PhpF is a phpfmt wrapper with project overrides..

fyrebase

415

0

1.0.3

MIT

GitHub

PhpF✨

PhpF is a package for Atom which will have your code looking polished in no time.

Simply configure it to your desired standards and your bad code formatting anxiety will fade away*..

Project Overrides

Create custom formatting standards per project. Run the PhpF Create Project Config command from the menu or command palette to quickly generate a phpf.cson project configuration file in your project root. Customise your project settings and commit them to your repo to share amongst your team!

Note: All options in the package settings screen will be overridden by those specified in the phpf.cson project configuration file

Exclude Files / Directories

PhpF allows you to exclude files and directories from being formatted. Just throw them in the project config or the settings screen!

Requirements

php

php 5.6 or newer

phpfmt

phpfmt is a php archive which beautifies your PHP code, following configurable coding guidelines.

You will need to download a copy of phpfmt. There are several versions of it floating around the internet

Try starting with these...

Drop it somewhere like /usr/local/bin and add the path to the PhpF package settings screen within atom.


*Hopefully, fingers crossed, no guarantees

Changelog

1.0.3 -- 09/08/2017

1.0.2 -- 08/08/2017

1.0.1 -- 08/08/2017

1.0.0 -- 08/08/2017

0.1.2 -- 04/08/2017

0.1.1 -- 04/08/2017