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

Leon Chevalier's Blog: Improve website load time by 500% with 3 lines of code

Rob Richards' Blog: WS-Addressing for ext/soap

ServerGrove Blog: Spooling emails with Symfony2 on VPS and Shared Hosting

Jani Hartikainen's Blog: Making a PDF generator class using Zend_Pdf

Richard Miller's Blog: Symfony2: Integrating elasticsearch


Community Events





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


series zendserver bugfix interview symfony deployment community podcast language library laravel package install version tips framework introduction update opinion release

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