Does PHP have like ruby gem bundler?
Asked Answered
N

2

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.

Noway answered 3/9, 2012 at 9:7 Comment(0)
A
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.

Annabellannabella answered 3/9, 2012 at 9:10 Comment(2)
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)Noway
I don't realy know Gem bundler. Symfony use it (it was mainly launched from Symfony community). Zend use it since 2.0. About Yii there seems to have a dead discussion about it (don't know the state).Annabellannabella
A
0

there is pecl for php, for php extensions.

America answered 3/9, 2012 at 9:9 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.