Symfony

Tutorials and guides on the PHP framework Symfony

PHPUnit change http host with Symfony

Symfony is a PHP framework

A simple PHP tutorial demonstrating how to change the domain of a phpunit functional test.
This example uses a test written for the Sylius E-commerce framework and changes the domain of a Sylius channel to use a custom host entry.
The default domain is set to localhost but this causes errors when testing against different Sylius channels. This tutorial gives an example of how to overcome this issue by changing the domain within the PHP unit test.

Choosing to finish a Symfony 1.4 site rather than rebuilding it in Symfony2

Symfony is a PHP framework

Symfony2 is the hottest PHP framework out at the moment so you would jump to the assumption that I would build all my projects in the latest and greatest.
Well last week I went against the grain and put a Symfony 1.4 site live. Not a Symfony2 site … I hear you ask!
So whats my reasoning?

Symfony2 Entity Dependency

I recently asked a question on stackoverflow on how to target an external Doctrine entity from a separate bundle. Simply put, how do we handle entity dependencies across bundles. In this post I would like to discuss my thought process in separating the entities and give more detail into the solution that was kindly added by Florent