# Usage

Start with [Attributes vs. factories](attributes-vs-factories.md) for what this package replaces and why.

You can use it to:

- [Inject class dependencies](factories/service.md)
- [Inject entity repositories](factories/repository.md)

Both are described in detail in [Factories](factories.md).

For the questions that come up most often, see the [FAQ](faq.md).
