PHPackages                             webifycms/dev-tools - 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. webifycms/dev-tools

ActiveWebifycms-tool[Utility &amp; Helpers](/categories/utility)

webifycms/dev-tools
===================

Set of development tools to analyze and auto fix code standards, formatting and other stuffs for WebifyCMS packages.

v1.1.3(5mo ago)148MITPHPPHP &gt;=8.4

Since Sep 9Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/webifycms/dev-tools)[ Packagist](https://packagist.org/packages/webifycms/dev-tools)[ RSS](/packages/webifycms-dev-tools/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (19)Used By (0)

WebifyCMS Dev Tools
===================

[](#webifycms-dev-tools)

Set of development tools to analyze and auto fix code standards, formatting and other stuffs for WebifyCMS packages.

The following libraries are included:

- `friendsofphp/php-cs-fixer`
- `phpstan/phpstan`
- `rectorphp/rector`

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

[](#installation)

Install via composer

```
composer require webifycms/dev-tools --dev
```

Configuration
-------------

[](#configuration)

- PHP CS Fixer

You can add the rules and finder instance in the following way to your config file `.php-cs-fixer.php`:

```
use Webify\Tools\Fixer;
use PhpCsFixer\Finder;

// create a finder instance according to your needs
$finder = Finder::create()->in(__DIR__ . '/src');
// add the rules and it will override the defaults
$rules = [];

return (new Fixer($finder, $rules))->getConfig();
```

- PHPStan

Add `phpstan.neon` in the root directory, and you can include `src/phpstan.neon` file like below if you wish but not necessary.

```
#...
includes:
  - vendor/webifycms/dev-tools/src/phpstan.neon
#...
```

- Rector

Add `rector.php` in the root directory and the following, if you need to add more paths you can add them as well:

```
use Webify\Tools\Rector;

// Initialize
return (new Rector())
    ->initialize([
        __DIR__ . '/src',
        __DIR__ . '/test'
    ])
    ->withPhpSets(php81: true);
```

Usage
-----

[](#usage)

- Analyze your code first with PHPStan static analyzer for errors and fix (manual fix):

```
vendor/bin/phpstan analyse [options] [...]
```

- Run code sniffer and format your codes.

(Recommended) If you wish to fix manually, you can just output the rules that will apply like the following.

```
./vendor/bin/php-cs-fixer fix --verbose --diff --show-progress=dots --dry-run
```

If you wish to auto fix the files, and output the summary of changes you can run the following.

```
./vendor/bin/php-cs-fixer fix --verbose --show-progress=dots
```

Upgrade code with RectorPHP

```
# to output the changes only
./vendor/bin/rector process --dry-run

# to make the changes
./vendor/bin/rector process
```

> ***NOTE:** You can also set up this extension with your favorite IDE or editor, so you can get more advantages like format on save while developing.*

TODO
----

[](#todo)

- Install `phpstan/phpstan` library.
- Install Rector `rectorphp/rector` library.
- Add alias commands for the library commands, like the following:

```
# ./vendor/bin/php-cs-fixer fix --verbose --diff --show-progress=dots --dry-run
composer code-sniff

# ./vendor/bin/php-cs-fixer fix --verbose --show-progress=dots
composer code-format

# ./vendor/bin/phpstan
composer code-analyse
```

- Add support to pass arguments to the alias commands.

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance71

Regular maintenance activity

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity73

Established project with proven stability

 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 ~69 days

Recently: every ~87 days

Total

18

Last Release

165d ago

Major Versions

v0.7 → v1.02024-12-19

PHP version history (2 changes)v0.1.0PHP &gt;=8.1

v1.1.0PHP &gt;=8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/c962fbecdc356fb297eef4b4f8a1ac1aff2e07ba92a2b7b03670b00c60b28c6d?d=identicon)[shifrin](/maintainers/shifrin)

---

Top Contributors

[![Shifrin](https://avatars.githubusercontent.com/u/7717399?v=4)](https://github.com/Shifrin "Shifrin (43 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/webifycms-dev-tools/health.svg)

```
[![Health](https://phpackages.com/badges/webifycms-dev-tools/health.svg)](https://phpackages.com/packages/webifycms-dev-tools)
```

###  Alternatives

[ticketswap/phpstan-error-formatter

A minimalistic error formatter for PHPStan

87578.8k35](/packages/ticketswap-phpstan-error-formatter)

PHPackages © 2026

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