symplify/psr4-switcher

This package is abandoned and no longer maintained. The author suggests using the symplify/easy-ci package instead.

Switch classmap to PSR-4

10.0.0-beta1 2021-11-02 10:18 UTC

This package is auto-updated.

Last update: 2021-11-03 00:57:02 UTC


README

Downloads total

How to switch to PSR4 in your composer.json?

Install

composer require symplify/psr4-switcher --dev

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

In case you are experiencing a bug or want to request a new feature head over to the Symplify monorepo issue tracker

Contribute

The sources of this package are contained in the Symplify monorepo. We welcome contributions for this package on symplify/symplify.