2017 © Pedro Peláez
 

library phpfmt-tool

PHPFMT Command Tool

image

zhouyl/phpfmt-tool

PHPFMT Command Tool

  • Thursday, September 7, 2017
  • by zhouyl
  • Repository
  • 1 Watchers
  • 1 Stars
  • 110 Installations
  • Shell
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 4 % Grown

The README.md

PHPFMT-tool

Installation

Via Composer

composer require zhouyl/phpfmt-tool

Configuration file lookup order

  1. $PWD/.phpfmt.ini (customize)
  2. $HOME/.phpfmt/.phpfmt.ini (global)

Customize the configuration file

cp vendor/zhouyl/phpfmt-tool/.phpfmt.ini .

Customize the default formatting directories (e.g. laravel 5.x)

echo "./app ./bootstrap ./database" > ./.phpfmtdirs

Usage

cd /workspace/myapplication
vendor/bin/phpfmt

Global Installation

wget --no-check-certificate https://github.com/zhouyl/phpfmt-tool/raw/master/phpfmt -O /usr/local/bin/phpfmt
chmod +x /usr/local/bin/phpfmt
cd /workspace/myaplication
phpfmt .

License

The MIT License (MIT). Please see License File for more information., (*1)

The Versions

07/09 2017

dev-master

9999999-dev https://github.com/zhouyl/phpfmt-tool

PHPFMT Command Tool

  Sources   Download

MIT

The Requires

  • php >=5.6.0
  • ext-pcntl *
  • ext-sysvsem *
  • ext-sysvshm *
  • ext-sysvmsg *

 

by Avatar zhouyl

01/09 2017

v1.0.0

1.0.0.0 https://github.com/zhouyl/phpfmt-tool

PHPFMT Command Tool

  Sources   Download

MIT

The Requires

  • php >=5.6.0
  • ext-pcntl *
  • ext-sysvsem *
  • ext-sysvshm *
  • ext-sysvmsg *

 

by Avatar zhouyl