PHPackages                             basemax/phpas - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. basemax/phpas

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

basemax/phpas
=============

PHP Auto Style: A tool for format and beautify the style of PHP code with my style.

1.1.0(5y ago)6183[2 issues](https://github.com/BaseMax/PHPAS/issues)GPL-3.0-or-laterPHP

Since Dec 2Pushed 4y ago1 watchersCompare

[ Source](https://github.com/BaseMax/PHPAS)[ Packagist](https://packagist.org/packages/basemax/phpas)[ Docs](https://github.com/BaseMax/PHPAS)[ RSS](/packages/basemax-phpas/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

PHP AS(Auto Style), PHP Beautifier
==================================

[](#php-asauto-style-php-beautifier)

A tool for format and beautify the style of PHP code with my style.

Purpose
-------

[](#purpose)

We waste our time to format the code. So it will be a fantastic tool.

Anyway, I hope this tool can help you for format a PHP code easily and fast.

Story
-----

[](#story)

I developed this tool for myself, not for money, not for a special company.

Although it used in some software of a company in India.

Also it used as PHP snippet formate on [PHPize.online](https://phpize.online)

Main purpose
------------

[](#main-purpose)

- Remove extra space after "for", "while", "if" words...
- Ident cleaning and auto tab for {} and statements...
- Make clean the comment text
- ...

### Demo

[](#demo)

Left: Output, Right: Input

[![ScreenShot](https://raw.githubusercontent.com/BaseMax/PHPAS/master/screenshot.png)](https://raw.githubusercontent.com/BaseMax/PHPAS/master/screenshot.png)

### Usage

[](#usage)

```
