Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

tuantran's avatar

Deploy web laravel with heroku

Hi all, the first time i want to deploy my web app to internet use heroku. but when i do it, i meet some error 403 and can not access it. can you give me some solution. and give some way to deploy web thank all.

0 likes
1 reply
rumm.an's avatar

seems like you APP_KEY env variable is missing in heroku

you can use heroku cli to run artisan command this way

heroku run php artisan key:generate

Please or to participate in this conversation.