I'm developing a package, which can be consumed by Laravel applications. The package has a ServiceProvider, which consumers use when they want to instantiate stuff from the package.
Now, I would like to use this ServiceProvider in the package's own tests to resolve dependencies. Integration testing if you will.
How can I do that?
It looks like resolve() depends on app(), so am I correct in assuming that the Laravel service container is not standalone and can only be used inside of an application?