Laravel: Testing without booting the app

In other words, making your faster and predictable

Photo by Mohammad Bagher Adib Behrooz on Unsplash
The method “exists” is the only logic that requires an application service.

What uses the container?

The source code of the session helper, which calls the global app function helper.

What about facades?

A test setting up a container singleton and into the facade.



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Italo Baeza Cabrera

Graphic Designer graduate. Full Stack Web Developer. Retired Tech & Gaming Editor.