I greatly disagree with putting factories WITH their components. Factories are (s)crap code, they should live in a single location.

I personally have something like a `Foo\Bar\Factory\StuffFactory` and a `Foo\Bar\Baz\Stuff` in all my projects, as it makes maintainance/searchability as well as wiring much simpler and effective.