问题
I am PHP programmer that know Rails.
Ruby gem bundler very good tool to install dependencies, does php have something like that?(maybe some php framework have such tool).
Expanation about gem bundler:
Bundler manages an application's dependencies through its entire life across many machines systematically and repeatably.
回答1:
There is Composer.
Composer is a package manager tracking local dependencies of your projects and libraries.
Then you have Packagist (which is the main Composer repository).
Packagist is the main Composer repository. It aggregates all sorts of PHP packages that are installable with Composer.
And you can also manage your private/own repository using Satis.
Simple static Composer repository generator.
By the way, a post from the author about What & Why Composer.
回答2:
there is pecl for php, for php extensions.
来源:https://stackoverflow.com/questions/12244913/does-php-have-like-ruby-gem-bundler