Java
Clone or download
Latest commit 47b50f8 Jul 31, 2017

README.md

NetBeans PHP CS Fixer Plugin

You can run fix command with this plugin.

PHP CS Fixer

https://github.com/FriendsOfPHP/PHP-CS-Fixer

Available versions of PHP CS Fixer

  • 1.x
  • 2.x (v0.6.0)

Requirements

  • NetBeans 8.2+

Available Commands

  • fix
  • fix --dry-run
  • self-update

Features

  • Run commands
  • Run on Save

Settings

Global

Tools > Options > PHP > Framework & Tools > PHP CS Fixer

  • set PHP CS Fixer path
  • select a version
  • set fix command options

Project

project properties > PHP CS Fixer

  • If you would like to use settings each projects, please, check use project settings

Usage

  1. Right-click
    • Project
    • Directory
    • File
    • Editor
  2. PHP CS Fixer
    • fix
    • fix --dry-run
    • self-update

Download

NOTE

  • Run on save feature may not work somethimes. Now after 1 second, the command is run. But I don't have another idea at the moment, sorry.

License

Common Development and Distribution License (CDDL) v1.0 and GNU General Public License (GPL) v2