PHPackages                             tonicospinelli/class-generation - 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. tonicospinelli/class-generation

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

tonicospinelli/class-generation
===============================

Library to create Php Class files

2.2.1(11y ago)1120.6k4[1 issues](https://github.com/tonicospinelli/class-generation/issues)1MITPHPPHP &gt;=5.3.3

Since Oct 7Pushed 10y ago3 watchersCompare

[ Source](https://github.com/tonicospinelli/class-generation)[ Packagist](https://packagist.org/packages/tonicospinelli/class-generation)[ Docs](https://github.com/tonicospinelli/ClassGeneration/)[ RSS](/packages/tonicospinelli-class-generation/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (5)Dependencies (1)Versions (13)Used By (1)

Class Generation
================

[](#class-generation)

[![SensioLabsInsight](https://camo.githubusercontent.com/04ff0f9cc8126941136bc2abdb648cab216e7327dcc47c8ff9c0206b7cc2c800/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f61363433376337302d643164662d343538362d393864302d3166616139323036366636332f736d616c6c2e706e67)](https://insight.sensiolabs.com/projects/a6437c70-d1df-4586-98d0-1faa92066f63)[![Build Status](https://camo.githubusercontent.com/612f9f962f7ed1b89de5fff847f495e92d70b3d426d953b6472d8ef441a55d48/68747470733a2f2f7472617669732d63692e6f72672f746f6e69636f7370696e656c6c692f636c6173732d67656e65726174696f6e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/tonicospinelli/class-generation)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/9049a1da162bb0136e2058068194e8777ed117535cfde565f5736972e95c1c38/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f746f6e69636f7370696e656c6c692f636c6173732d67656e65726174696f6e2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/tonicospinelli/class-generation/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/952d1347edceb10ef6a08abd52cb43b39cfbfd499a4b459019a6dea00db12eb3/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f746f6e69636f7370696e656c6c692f636c6173732d67656e65726174696f6e2f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/tonicospinelli/class-generation/?branch=master)

[![Latest Stable Version](https://camo.githubusercontent.com/9a4e2cd2634553a56b2ee7f4b67f9750dd6498e24b63c32dfab131dca47800b1/68747470733a2f2f706f7365722e707567782e6f72672f746f6e69636f7370696e656c6c692f636c61737367656e65726174696f6e2f762f737461626c652e706e67)](https://packagist.org/packages/tonicospinelli/classgeneration)[![Total Downloads](https://camo.githubusercontent.com/4e9af53de6adc2330eaf1f992ccbb334e14a2e5ab275b301d1ad98ab8c454bf9/68747470733a2f2f706f7365722e707567782e6f72672f746f6e69636f7370696e656c6c692f636c61737367656e65726174696f6e2f646f776e6c6f6164732e706e67)](https://packagist.org/packages/tonicospinelli/classgeneration)

Introduction
============

[](#introduction)

When I developed a specific project, I saw an opportunity to create a library to generate Php Class Files and this library was born.

Installation
============

[](#installation)

I assume you know about Composer, if not look at [Composer WebSite](http://getcomposer.org/).

```
$ php composer.phar require tonicospinelli/class-generation:2.2.*
```

OR

```
{
    "tonicospinelli/class-generation" : "2.2.*"
}
```

QUICK START
-----------

[](#quick-start)

ClassGeneration is simple to use. Here's a sample for creating a Php Class File.

```
