PHPackages                             acadea/fixer - 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. acadea/fixer

ActiveLibrary

acadea/fixer
============

Laravel package to programmatically fix code using php cs fixer

v1.0.4(5y ago)0901MITPHPPHP ^7.4

Since Sep 27Pushed 5y agoCompare

[ Source](https://github.com/acadea/fixer)[ Packagist](https://packagist.org/packages/acadea/fixer)[ Docs](https://github.com/acadea/fixer)[ GitHub Sponsors](https://github.com/acadea)[ RSS](/packages/acadea-fixer/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (5)Dependencies (5)Versions (6)Used By (1)

Laravel Fixer
=============

[](#laravel-fixer)

[![Latest Version on Packagist](https://camo.githubusercontent.com/9073a01fa74837864369b8a5a68428f0d55f6e505ae0eaf88c14d54aa8f8b9e5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6163616465612f66697865722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/acadea/fixer)[![GitHub Tests Action Status](https://camo.githubusercontent.com/201691e34056f32cf879cef61560d5713083f37712ae213fa26a299f624c3cc4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6163616465612f66697865722f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/acadea/fixer/actions?query=workflow%3Arun-tests+branch%3Amaster)[![Total Downloads](https://camo.githubusercontent.com/2725b20eddbf198621b3f61fc7b271b989175d439b00f9e16820d79d272fc065/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6163616465612f66697865722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/acadea/fixer)

A tiny Laravel package to programmatically fix code using PHP CS Fixer.

Support us
----------

[](#support-us)

Follow us on Youtube: [Acadea.io](https://www.youtube.com/channel/UCU5RsUGkVcPM9QvFHyKm1OQ)

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

[](#installation)

This package assumes you have [php-cs-fixer](https://github.com/FriendsOfPhp/PHP-CS-Fixer) installed at `./vendor/bin/php-cs-fixer`

You can install the package via composer:

```
composer require acadea/fixer
```

You can publish the config file with:

```
php artisan vendor:publish --provider="Acadea\Fixer\FixerServiceProvider" --tag="config"
```

This is the contents of the published config file:

```
return [
    'binary' => 'path/to/bin',
    'rules' => [
        // php cs fixer rules, see the docs for more info
    ]
];
```

Usage
-----

[](#usage)

```
use Acadea\Fixer\Facade\Fixer;

// ..

$fixed = Fixer::format($code);
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Sam Ngu](https://github.com/sam-ngu)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

5

Last Release

2057d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/56226102?v=4)[Acadea](/maintainers/Acadea)[@acadea](https://github.com/acadea)

---

Top Contributors

[![sam-ngu](https://avatars.githubusercontent.com/u/30950704?v=4)](https://github.com/sam-ngu "sam-ngu (16 commits)")

---

Tags

fixeracadea

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/acadea-fixer/health.svg)

```
[![Health](https://phpackages.com/badges/acadea-fixer/health.svg)](https://phpackages.com/packages/acadea-fixer)
```

###  Alternatives

[friendsofphp/php-cs-fixer

A tool to automatically fix PHP code style

13.5k234.7M20.6k](/packages/friendsofphp-php-cs-fixer)[symplify/easy-coding-standard

Use Coding Standard with 0-knowledge of PHP-CS-Fixer and PHP\_CodeSniffer.

1.6k34.6M1.5k](/packages/symplify-easy-coding-standard)[jolicode/jolitypo

Microtypography fixer for the web.

3471.1M5](/packages/jolicode-jolitypo)[stechstudio/laravel-php-cs-fixer

Easily format your Laravel Code with this Configuration file and accompanying artisan command.

146718.6k2](/packages/stechstudio-laravel-php-cs-fixer)[fadion/fixerio

Wrapper for Fixer.io

49337.7k](/packages/fadion-fixerio)[redaxo/php-cs-fixer-config

php-cs-fixer config for REDAXO

1091.3k8](/packages/redaxo-php-cs-fixer-config)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
