FastForward Container
FastForward Container is a PSR-11 compliant composition layer for PHP applications. It helps you combine service providers, existing PSR-11 containers, configuration-backed containers, and autowiring behind one consistent entry point.
If you are new to the package, start with Installation, then Quickstart, and finally Service Providers.
Why teams usually adopt this package
- You can assemble one application container from multiple sources instead of committing to a single registration style.
- You keep explicit registrations for configured services while still using autowiring for the rest of the object graph.
- You can plug in existing PSR-11 containers and FastForward configuration objects without custom adapters.
Useful links
Contents:
- Getting Started
- Service Providers
- Examples
- Advanced Topics
- API Reference
- Links
-
FAQ
- Where should I start if I am completely new to this package?
- Can I use autowiring without a provider or another container?
- Do existing registrations take precedence over autowiring?
- Do I have to register every class manually?
- When should I use a provider instead of an existing PSR-11 container?
- Why do config values use config.* but provider registration uses ContainerInterface::class?
- Why does CallableFactory throw an exception when my closure expects a string?
- How do I expose the same service under two IDs?
- How do I decorate a service after it is created?
- How do collisions work when multiple providers define the same ID?
- Can I resolve the container itself from inside a factory?
- When should I use prepend() or append() on AggregateContainer?
- Does has() guarantee that a service can be constructed?
- Why is my optional dependency injected instead of staying null?
- Why does an optional dependency throw instead of using its default?
- What is the safest beginner-friendly default for a new project?
- Compatibility