PHPackages                             migrify/psr4-switcher - 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. migrify/psr4-switcher

Abandoned → [symplify/psr4-switcher](/?search=symplify%2Fpsr4-switcher)Library[Utility &amp; Helpers](/categories/utility)

migrify/psr4-switcher
=====================

Switch classmap to PSR-4

9.4.70(4y ago)2822.6kMITPHPPHP &gt;=8.0

Since May 10Pushed 4y ago1 watchersCompare

[ Source](https://github.com/deprecated-packages/psr4-switcher)[ Packagist](https://packagist.org/packages/migrify/psr4-switcher)[ RSS](/packages/migrify-psr4-switcher/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (10)Versions (252)Used By (0)

PSR-4 Switcher
==============

[](#psr-4-switcher)

[![Downloads total](https://camo.githubusercontent.com/24ed54b2f28828506a0039e3e83d482690522ba407a44d9255a67e7ca6e4646b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73796d706c6966792f707372342d73776974636865722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/symplify/psr4-switcher/stats)

How to switch to PSR4 in your `composer.json`?

Install
-------

[](#install)

```
composer require symplify/psr4-switcher --dev
```

Usage
-----

[](#usage)

Does short file name matches the class name?

```
vendor/bin/psr4-switcher check-file-class-name src
```

What files have 2 and more classes?

```
vendor/bin/psr4-switcher find-multi-classes tests
```

Report Issues
-------------

[](#report-issues)

In case you are experiencing a bug or want to request a new feature head over to the [Symplify monorepo issue tracker](https://github.com/symplify/symplify/issues)

Contribute
----------

[](#contribute)

The sources of this package are contained in the Symplify monorepo. We welcome contributions for this package on [symplify/symplify](https://github.com/symplify/symplify).

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 92.2% 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 ~2 days

Recently: every ~8 days

Total

251

Last Release

1650d ago

Major Versions

0.4.0 → 9.0.0-BETA22020-11-23

9.4.70 → 10.0.0-beta12021-11-02

PHP version history (5 changes)v0.1.12PHP ^7.2

0.3.33PHP ^7.2|^8.0

0.3.35PHP &gt;=7.2

9.0.0-rc1PHP &gt;=7.3

v9.3.27PHP &gt;=8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/924196?v=4)[Tomas Votruba](/maintainers/TomasVotruba)[@TomasVotruba](https://github.com/TomasVotruba)

---

Top Contributors

[![actions-user](https://avatars.githubusercontent.com/u/65916846?v=4)](https://github.com/actions-user "actions-user (202 commits)")[![TomasVotruba](https://avatars.githubusercontent.com/u/924196?v=4)](https://github.com/TomasVotruba "TomasVotruba (16 commits)")[![leoloso](https://avatars.githubusercontent.com/u/1981996?v=4)](https://github.com/leoloso "leoloso (1 commits)")

---

Tags

autoloadclassmapcomposermigrationphppsr-4

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/migrify-psr4-switcher/health.svg)

```
[![Health](https://phpackages.com/badges/migrify-psr4-switcher/health.svg)](https://phpackages.com/packages/migrify-psr4-switcher)
```

###  Alternatives

[symfony/maker-bundle

Symfony Maker helps you create empty commands, controllers, form classes, tests and more so you can forget about writing boilerplate code.

3.4k111.1M567](/packages/symfony-maker-bundle)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5205.3M82](/packages/symplify-monorepo-builder)[netgen/layouts-core

Netgen Layouts enables you to build and manage complex web pages in a simpler way and with less coding. This is the core of Netgen Layouts, its heart and soul.

3689.4k10](/packages/netgen-layouts-core)

PHPackages © 2026

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