fbpx

How to determine in a Laravel Blade if the app is in production?

Use these blade directives to determine if an application is running in production:

@production
...
code
...
@endproduction

Reference

Share this article

Share on facebook
Share on twitter
Share on linkedin

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to Top