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

Pádraic Brady's Blog: PHP OpenID 2.0 library for PEAR Updates

Ilia Alshanetsky's Blog: PHP 5.2.1 RC1 Available for testing

PHP-Tools Blog: I18n and such

SitePoint PHP Blog: Fractal: a Practical Walkthrough

Jani Hartikainen's Blog: How to make a file downloadable through your script


Community Events





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


tool series security composer framework community conference version opinion symfony language list artisanfiles library release interview voicesoftheelephpant introduction podcast laravel

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