Skip to content

ngyuki/phpenv-composer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

phpenv composer plugin

Build Status

Install

$ cd ~/.phpenv/plugins
$ git clone https://github.com/ngyuki/phpenv-composer.git
 :
$ phpenv rehash
$ phpenv global 5.5.9
$ composer --version
Download composer.phar ...
#!/usr/bin/env php
All settings correct for using Composer
Downloading...

Composer successfully installed to: /tmp/composer.phar
Use it: php /tmp/composer.phar
Move composer.phar to /home/your/.phpenv/versions/5.5.9/composer
Composer version 714a47ef93d2387b66a6eff2cb9e2191c79b8d6d 2014-02-23 16:15:02

Example

$ composer global require phpunit/phpunit:\*
 :
$ phpenv rehash
$ phpenv which phpunit
/home/your/.phpenv/versions/5.5.9/composer/vendor/bin/phpunit

$ phpunit --version
PHPUnit 3.7.31 by Sebastian Bergmann.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages