Laravel website review, the production settings that lose you customers

A Laravel website review usually finds the same thing first, a site built carefully on a laptop and switched on in production with half the local settings still in place. Laravel works hard to be pleasant in development. Errors explain themselves, emails land in a log file and jobs run the moment you call them. Every one of those comforts becomes a problem the day a stranger arrives.
Each section below is a check you can run in a few minutes, with the Laravel setting, file or command that fixes it. The names come from the current Laravel docs. Laravel 13 is the current release and the 12.x pages now carry an old version banner, so read the docs for the version your composer.json actually installs.
Is debug mode still on in your Laravel site?
Debug mode on a live Laravel site hands visitors a detailed technical error page instead of your own. The switch is APP_DEBUG in your .env file, read by the debug option in config/app.php. Laravel’s configuration docs are blunt about it.
If the variable is set to true in production, you risk exposing sensitive configuration values to your application’s end users.
Check it from the outside, not from the .env file you think is live. Request a page that cannot exist, then submit a form with a missing field. If you see a stack trace, file paths or environment values, debug is on. On the server, php artisan about prints the environment and debug state on one screen.
Set APP_DEBUG to false and APP_ENV to production, then rebuild the config cache. If you deploy with php artisan optimize, the old values stay cached until you run it again. The deployment page also warns that once the configuration is cached, the .env file is not loaded at all and env() calls outside config files return null, so a value read directly in a controller quietly disappears in production.
APP_ENV matters for more than the label. Laravel’s Telescope docs warn that if APP_ENV is not set to production, your Telescope installation will be publicly available. Visit /telescope and /horizon on your live domain in a private window. Both dashboards should refuse you.
What do visitors see when your Laravel site breaks?
Laravel shows its own plain error pages unless you give it yours, and a plain page with no menu or search is a dead end. A custom page is a Blade view named after the status code, such as resources/views/errors/404.blade.php. Running php artisan vendor:publish --tag=laravel-errors copies the default templates into your project so you can restyle them.
The catch all templates do not cover the three pages people see most. Laravel supports 4xx.blade.php and 5xx.blade.php for any status without its own view, but the error handling docs say these do not affect 404, 500 and 503 responses, because Laravel has its own built in pages for those. Each of the three needs its own view.
Give every error page your normal header, a short list of your main pages and one clear way to get in touch. That is my advice rather than a Laravel rule, and it is the difference between a lost visitor and a short detour. A broken link from an old campaign should still land somewhere useful.
Maintenance mode needs the same care. php artisan down returns a 503, and resources/views/errors/503.blade.php is the page people meet. The --render option serves a prerendered view before the app loads its dependencies, and --secret gives you a bypass link so you can test while customers wait. Laravel notes that no queued jobs are handled while the site is down.
Expired forms deserve a kinder message too. A form left open long enough for the session to end can fail its CSRF check, which Laravel returns as a 419. The error handling docs show how to send the visitor to the form again with the message “The page expired, please try again.” On a checkout or a long enquiry form, that one change saves the person who stopped to find a card.
Why are your Laravel emails not arriving?
A fresh Laravel app sends mail from hello@example.com with the name Example unless you change it. Those are the defaults for MAIL_FROM_ADDRESS and MAIL_FROM_NAME in config/mail.php. A receipt from “Example” is easy to delete and easy for a filter to distrust.
Check by signing up with an address the site has never seen. Time the email, read the sender line and open it on a phone. If nothing arrives, look at MAIL_MAILER. The log mailer writes every message to your log files, and the mail docs say it would typically only be used during local development, so a launch on the log mailer sends nothing at all.
Plan for the day your provider fails. Laravel has a failover transport that tries a list of mailers in order. Set one up and point MAIL_MAILER at it, so a password reset still goes out when the first service has an outage.
Make the emails look like you. php artisan vendor:publish --tag=laravel-mail publishes the mail templates for branding, and the notifications docs say the app name from config/app.php appears in the header and footer of notification emails. If that name is still the default, every reset email says so.
Are your Laravel queue workers actually running?
Queued mail and notifications only leave when a worker picks them up. The queue docs say the database connection is the default queue in new Laravel applications. A queued welcome email sits in the jobs table until php artisan queue:work runs, and on many servers nothing runs it.
Keep the worker alive with a process monitor. Laravel documents a Supervisor setup in /etc/supervisor/conf.d/laravel-worker.conf. Workers are long lived processes that will not notice changes to your code, so run php artisan queue:restart on every deploy, or a bug you fixed keeps happening inside the old worker.
Read the failed jobs as well. Failed jobs land in the failed_jobs table. php artisan queue:failed lists them, and php artisan queue:retry all sends them again once the cause is fixed. A list full of mail jobs means customers who signed up and never heard from you.
Do your Laravel sign up and password reset links work?
Laravel’s starter kits do not switch on email verification for you. The kits for React, Svelte, Vue and Livewire run on Fortify, and the docs say you add verification yourself by implementing MustVerifyEmail on the User model and putting the verified middleware on the routes that need it. Two factor authentication, by contrast, is on by default in the kits.
Then protect the reset link from a forged host. The password reset docs say Laravel responds regardless of the Host header and uses it to build absolute URLs. They point to trustHosts in bootstrap/app.php and call it particularly important when your application offers password reset.
Run the whole journey on a phone. Sign up, confirm, log out, request a reset, use it and sign in again. A link that opens a 403 usually means a signed URL that has expired or been altered, since the signed middleware rejects both.
Slow down password guessing without blocking real customers. The starter kit docs show a login limit of five attempts a minute per email and IP, set in FortifyServiceProvider. Check yours exists, and that a locked out customer is told when to try again.
Will a Laravel website review flag your deployment?
The web server should point at public/index.php and nothing above it. Laravel’s deployment page warns that serving from the project root will expose many sensitive configuration files to the public Internet. Try your domain followed by /.env and /composer.json. Both should return a 404.
Build your front end assets for production. npm run build versions and bundles them, and the @vite directive loads the compiled files unless it detects the dev server. A page of unstyled text after a deploy usually means the build step never ran.
Use the health route for uptime checks. /up returns a 200 when the app boots without exceptions and a 500 when it does not. Point an uptime monitor at it and you hear about a broken deploy before a customer does. Run php artisan optimize as part of each deploy so config, events, routes and views are cached.
None of this sells anything on its own. Once the plumbing is right, read the homepage as a stranger. If visitors arrive and leave, the reasons in why a website gets visits and no sales apply to Laravel sites like any other.
What does a Laravel website review from Roast check?
Roast checks public pages in a browser on desktop, tablet and phone, scores them out of 100 and ranks the findings. Each fix comes with a ready prompt you can paste into an AI tool, and the prompt library shows the style. It catches what a stranger meets, such as a debug page, an unstyled error page, a slow first screen or a form that ends in an error.
A public scan cannot open your server. It does not read your .env, your code, your database, your queue or your mail logs, and it never sees an email or a payment go through. Those checks stay with you. The full list of what a roast covers and the sample report show where the line sits.
Get a free score for your Laravel site with no sign up, then buy the $5 full roast when you want every finding and prompt. Prices are on the pricing page.
My pick is to request a missing page on your live domain right now. If it shows a stack trace, fix that before anything else on this list.
Find out what is putting your customers off.
Sources
Laravel configuration and deployment
- Laravel docs, Configuration (debug mode, maintenance mode)
- Laravel docs, Deployment
- Laravel docs, Deployment (13.x)
- Laravel docs, Error handling
- Laravel docs, Asset bundling (Vite)
Laravel mail and queues
Laravel authentication and tools