---
title: "How do I make my Laravel app production ready?"
url: "https://ploi.io/documentation/laravel/how-do-i-make-my-laravel-app-production-ready"
published: "2018-08-12"
last_updated: "2024-01-18"
---

# How do I make my Laravel app production ready?

When you want to deploy your Laravel app to a live environment, you want to ensure no one can see any debug message as this may contain information about your application that you do not want to spread.

First, ensure your **APP\_DEBUG** is set to false inside your .env file. Also, change the **APP\_ENV** from local to production. This makes sure your user won't be able to read any debug messages when an error is thrown.

If you're using third-party packages to debug your application make sure you disable them, or only make them available for yourself (by checking IP or whatever).

For example, if you're using the [Debugbar package](https://github.com/barryvdh/laravel-debugbar) make sure you mark **DEBUGBAR\_ENABLED** to false so the bar will not show itself.