10

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.

j0k
  • 22,600
  • 28
  • 79
  • 90
Ben
  • 25,389
  • 34
  • 109
  • 165

2 Answers2

18

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.

j0k
  • 22,600
  • 28
  • 79
  • 90
  • cool thanks, have few questions: 1. what difference between composer and ruby gem bundler? Does some php framework use this, if not do you know why?(i use zend, yii - they dont use it) – Ben Sep 03 '12 at 09:19
  • I don't realy know Gem bundler. Symfony use it (it was mainly launched from Symfony community). Zend use it [since 2.0](http://packages.zendframework.com/#composer). About Yii there seems to have a [dead discussion about it](http://www.yiiframework.com/forum/index.php/topic/26631-composer-support/) (don't know the state). – j0k Sep 03 '12 at 09:35
0

there is pecl for php, for php extensions.

amitchhajer
  • 12,492
  • 6
  • 40
  • 53