PHPackages                             trovit/php-code-formatter-bundle - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. trovit/php-code-formatter-bundle

AbandonedSymfony-bundle[Utility &amp; Helpers](/categories/utility)

trovit/php-code-formatter-bundle
================================

Provides a basic system to organize and execute php code formatters

v1.0.1(9y ago)090MITPHP

Since Oct 5Pushed 9y ago8 watchersCompare

[ Source](https://github.com/trovit/php-code-formatter-bundle)[ Packagist](https://packagist.org/packages/trovit/php-code-formatter-bundle)[ RSS](/packages/trovit-php-code-formatter-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (3)Versions (3)Used By (0)

Php Code Formatter Bundle
=========================

[](#php-code-formatter-bundle)

[![Build Status](https://camo.githubusercontent.com/8a50aa9a93df5ee58476de6100650f2d673e951a44845adc5df9f6fb27b93b54/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f74726f7669742f7068702d636f64652d666f726d61747465722d62756e646c652e706e67)](http://travis-ci.org/trovit/php-code-formatter-bundle)

Symfony bundle which provides a basic system to organize and execute php code formatters.

Installation
------------

[](#installation)

### Step 1: Require bundle using composer

[](#step-1-require-bundle-using-composer)

```
$ composer require trovit/php-formatter-bundle "^1.0"
```

### Step 2: Enable the bundle

[](#step-2-enable-the-bundle)

```
';
$this->get('trovit.php_code_formatter.managers.formatter_manager')->execute($code);

// This will return
/*
