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

Leave a Reply

Your email address will not be published.

Scroll to Top