Download the PHP package zero-to-prod/psr4-classname-cli without Composer
On this page you can find all versions of the php package zero-to-prod/psr4-classname-cli. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download zero-to-prod/psr4-classname-cli
More information about zero-to-prod/psr4-classname-cli
Files in zero-to-prod/psr4-classname-cli
Package psr4-classname-cli
Short Description A CLI to generate a PSR-4 compliant classname
License MIT
Homepage https://github.com/zero-to-prod/psr4-classname-cli
Informations about the package psr4-classname-cli
Zerotoprod\Psr4ClassnameCli
Contents
- Introduction
- Requirements
- Installation
- Documentation Publishing
- Automatic Documentation Publishing
- Usage
- Available Commands
psr4-classname-cli:generatepsr4-classname-cli:src
- Docker Image
- Local Development
- Image Development
- Contributing
Introduction
A CLI to generate a PSR-4 compliant classname
Requirements
- PHP 8.1 or higher.
Installation
Install Zerotoprod\Psr4ClassnameCli via Composer:
This will add the package to your project's dependencies and create an autoloader entry for it.
Documentation Publishing
You can publish this README to your local documentation directory.
This can be useful for providing documentation for AI agents.
This can be done using the included script:
Automatic Documentation Publishing
You can automatically publish documentation by adding the following to your composer.json:
Usage
Run this command to see the available commands:
Available Commands
psr4-classname-cli:generate
Description: Generates a valid PSR-4 compliant classname from a string.
Usage:
Arguments:
classname(required) - The string to convert to a PSR-4 compliant classname
Examples:
psr4-classname-cli:src
Description: Displays the project's GitHub repository URL.
Usage:
Arguments: None
Example:
Docker Image
You can also run the cli using the docker image:
Contributing
Contributions, issues, and feature requests are welcome! Feel free to check the issues page if you want to contribute.
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch). - Commit changes (
git commit -m 'Add some feature'). - Push to the branch (
git push origin feature-branch). - Create a new Pull Request.
All versions of psr4-classname-cli with dependencies
ext-json Version *
symfony/console Version ^7.2
zero-to-prod/psr4-classname Version ^71.0
zero-to-prod/data-model Version ^81.9
zero-to-prod/package-helper Version ^1.1.3