Want to take your software engineering career to the next level? Join the mailing list for career tips & advice Click here

PhpBeautifier

Pear Php_beautifier plugin for Sublime Text 2

Star full 4f7b624809470f25b6493d5a7b30d9b9cb905931146e785d67c86ef0c205a402Star full 4f7b624809470f25b6493d5a7b30d9b9cb905931146e785d67c86ef0c205a402Star full 4f7b624809470f25b6493d5a7b30d9b9cb905931146e785d67c86ef0c205a402Star full 4f7b624809470f25b6493d5a7b30d9b9cb905931146e785d67c86ef0c205a402Star full 4f7b624809470f25b6493d5a7b30d9b9cb905931146e785d67c86ef0c205a402 (1 ratings)
Rated 5.0 out of 5
Subscribe to updates I use PhpBeautifier


Statistics on PhpBeautifier

Number of watchers on Github 68
Number of open issues 10
Average time to close an issue about 1 month
Main language Python
Average time to merge a PR about 13 hours
Open pull requests 2+
Closed pull requests 0+
Last commit over 7 years ago
Repo Created about 9 years ago
Repo Last Updated over 2 years ago
Size 144 KB
Organization / Authorsublimetext
Contributors4
Page Updated
Do you use PhpBeautifier? Leave a review!
View open issues (10)
View PhpBeautifier activity
View on github
Book a Mock Interview With Me (Silicon Valley Engineering Leader, 100s of interviews conducted)
Software engineers: It's time to get promoted. Starting NOW! Subscribe to my mailing list and I will equip you with tools, tips and actionable advice to grow in your career.
Evaluating PhpBeautifier for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)

PHP code formatter for Sublime Text editor with Pear php_beautifier

Sublime Text 2

Php_beautifier

About

This is a Sublime Text 2 plugin allowing you to format your PHP code. It uses php beautifier.

Installation

Install php-pear and php-cli with your package manager :

  • php-pear & php5-cli with Debian
  • php-pear & php with Archlinux

Install php beautifier from pear channel : sudo pear install --alldeps channel://pear.php.net/php_beautifier-0.1.15

Clone or download the files and copy them to your Packages folder. You can access it via Preferences -> Browse Packages in sublime text.

Usage

ctrl + shift + P and type Format: PHP, or you can use the ctrl + alt + f keybinding.

Customize

You can define some options in the script php_beautifier.py. Default options are : PHP_OPTIONS = "-s4 -l 'ArrayNested()' " (indent with 4 spaces and nested arrays).

PhpBeautifier open issues Ask a question     (View All Issues)
  • over 4 years Doesnt' work with -t1
  • over 7 years Not working...
  • over 7 years Windows step-by-step installation
  • over 7 years Cant seem to change filters
  • over 7 years AttributeError: 'PhpBeautifierCommand' object has no attribute 'status'
  • almost 8 years PHP Strict Standards: Non-static method Console_Getopt::readPHPArgv() should not be called statically in /usr/bin/php_beautifier on line 70
  • almost 9 years PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/lib/php/pear/PEAR/Config.php on line 650
  • almost 9 years sh: php_beautifier: command not found
PhpBeautifier open pull requests (View All Pulls)
  • Improve settings management
  • Add windows compatiblity
PhpBeautifier list of languages used
Other projects in Python
Powered by Autocode - Instant Webhooks, Scripts and APIs
Autocode logo wordmark