Does PHP have like ruby gem bundler?

£可爱£侵袭症+ 提交于 2019-12-20 12:34:08

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!