PHPackages                             fzaninotto/phpclassnamegenerator - 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. fzaninotto/phpclassnamegenerator

ActiveLibrary

fzaninotto/phpclassnamegenerator
================================

Generate PSR-0 compliant class names with ease

1512PHP

Since May 25Pushed 13y ago1 watchersCompare

[ Source](https://github.com/fzaninotto/PHPClassNameGenerator)[ Packagist](https://packagist.org/packages/fzaninotto/phpclassnamegenerator)[ RSS](/packages/fzaninotto-phpclassnamegenerator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

PHPClassNameGenerator™: A PHP Class Name Generator
==================================================

[](#phpclassnamegenerator-a-php-class-name-generator)

Generate [PSR-0](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md) compliant class names with ease.

Why Should I Use PHPClassNameGenerator™?
----------------------------------------

[](#why-should-i-use-phpclassnamegenerator)

This library will help you if:

- You have written a great piece of code but you don't know where to contribute it
- You would like to contribute to an existing open-source project but don't know what to do

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

[](#installation)

Add the PHPClassNameGenerator™ library to your `composer.json` file:

```
{
  "require": {
    "fzaninotto/PHPClassNameGenerator": "dev-master"
  }
}

```

Then use [composer](http://getcomposer.org/doc/00-intro.md) to complete the installation process.

Usage
-----

[](#usage)

Use the new `ClassNameProvider` class in combination with [Faker](https://github.com/fzaninotto/Faker) to produce an infinite number of PSR-0 compliant class names.

```
