News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Symfony Blog:
Symfony2 Components as standalone Packages
July 09, 2012 @ 13:55:35

On the Symfony blog there's a recent post talking about the availability of the SF2 packages as standalone components available for separate downloads.

Each Symfony Component has been available as a standalone "package" for a very long time, but this is the first time I post something about this on this blog. That's because the way it was done was quite experimental... until recently. Why is it useful? Let's say you have a project that does not use Symfony, the full-stack framework, but you still want to rely on a few Symfony Components like YAML, Console, and Process for instance. In that case, instead of depending on the main symfony/symfony code, your project can just depend on these specific components.

An example of the composer.json configuration needed to grab individual components and define a "minimum stability" for the sources.

The new version has been online for the last week and the Components are now updated 1 or 2 minutes after some changes are pushed to the Symfony component. Unfortunately, we have had one force push during that time due to a bug in the Git subtree command (I haven't found the time to submit a bug report yet).
0 comments voice your opinion now!
components package download symfony2


blog comments powered by Disqus

Similar Posts

Knut Urdalen's Blog: Tic Tac Toe with PHP-GTK2

Kevin van Zonneveld's Blog: Create daemons in PHP

Gonzalo Ayuso: Combining Zend Framework2 and Symfony2 components with Composer to build PHP projects

SitePoint PHP Blog: Building a Web App With Symfony 2: Development

Gonzalo Ayuso: Handling several PDO Database connections in Symfony2 through the DIC in PHP


Community Events





Don't see your event here?
Let us know!


code bugfix application wordpress list introduction threedevsandamaybe library api interview community podcast install laravel unittest developer configure series release language

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework