Composer support for Console_Color2 #2

Merged
merged 2 commits into from Apr 18, 2012

Conversation

Projects
None yet
3 participants
Contributor

RobLoach commented Apr 18, 2012

Based off of the discussions in the Console_Color pull request, add Composer support to Console_Color2. Using Composer's generated autoload.php will autoload the Console_Color2's class when needed.

composer.json
+ "php": ">=5.0.0"
+ },
+ "autoload": {
+ "classmap": [ "Console/Color2.php" ]
@Seldaek

Seldaek Apr 18, 2012

"psr-0": { "Console\\Color2": "" } should do just as well.

@RobLoach

RobLoach Apr 18, 2012

Contributor

Thanks! Switched to "psr-0": { "Console_Color2": "" }

CloCkWeRX added a commit that referenced this pull request Apr 18, 2012

Merge pull request #2 from RobLoach/master
Composer support for Console_Color2

@CloCkWeRX CloCkWeRX merged commit ae151f6 into pear:master Apr 18, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment