In this small tutorial, I will guide you on how to deploy Laravel application to the Heroku. Heroku Cloud Application Platform is a Platform as a Service (PaaS) that enables developers to run, build, and operate applications entirely in a cloud.
Heroku is a public PaaS (Platform as a Service) provider that makes it easy to deploy applications written using several technology stacks at no cost.
Steps to Deploy Laravel Project On Heroku:
- Install Heroku CLI.
- Install the Laravel.
- Create a proc file.
- Initialize git repo.
- Logging into the Heroku terminal.
- Create a Heroku app.
- Setup the Laravel encryption key.
- Push Laravel changes to Heroku.
- Configure the Database on Heroku.
- Add the project files and run the migration.