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*..
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
PhpF allows you to exclude files and directories from being formatted. Just throw them in the project config or the settings screen!
php 5.6 or newer
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
phpf.cson
is not presentREADME.md
and package versionphpf.cson
project configuration file validationphpf.cson
project configuration fileREADME.md
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.