Download the PHP package zbyrih/psr4-helper without Composer
On this page you can find all versions of the php package zbyrih/psr4-helper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download zbyrih/psr4-helper
More information about zbyrih/psr4-helper
Files in zbyrih/psr4-helper
Download zbyrih/psr4-helper
More information about zbyrih/psr4-helper
Files in zbyrih/psr4-helper
Vendor zbyrih
Package psr4-helper
Short Description php project migration to psr4 helper
License MIT
Package psr4-helper
Short Description php project migration to psr4 helper
License MIT
Please rate this library. Is it a good library?
Informations about the package psr4-helper
PSR4 Helper

Introduction
This tool should help with the transition of php code, especially class names, namespaces, files and folders of a chaotic unorganized project to psr-4 and enable the use of composer auto-loading via psr-4.
Installation
The recommended way to install this helper is through Composer:
composer global require zbyrih/ps4-helper --dev
Usage
first you have to create config file psr4helper.neon in you current working directory:
now, you can use console command options:
- help : Display this help message
- init : Init default neon config
- multi : List multiple classes in one file
- psr4 : List of classes with wrong folders by PSR-4
info|case|missing- info : show mismatch and missing files for classes
- case : mismatch case
- missing : missing files for classes
- find : List of classes with a fully quantified name starting with a given value
- update-case : Rename folders with mismatch case
info|rename- info: just printing the information doesn't change anything
- rename: change names of folders
- create-dirs : Create missing folders by classes namespaces
- create-files : Create missing files by multiple classes
- clear-git : With
clearvalue will remove all cached duplicate folders with mismatch case from index
All versions of psr4-helper with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.0
symfony/console Version ^6.0 || ^7.2
nette/utils Version ^3.2
nette/robot-loader Version ^3.4
nette/neon Version ^3.3
nette/schema Version ^1.2
symfony/console Version ^6.0 || ^7.2
nette/utils Version ^3.2
nette/robot-loader Version ^3.4
nette/neon Version ^3.3
nette/schema Version ^1.2
The package zbyrih/psr4-helper contains the following files
Loading the files please wait ...