DEV Community

Techsolutionstuff
Techsolutionstuff

Posted on • Originally published at techsolutionstuff.com

How to Deploy Laravel on Heroku with Database

In this tutorial, we will see how to deploy laravel on heroku with a database. Heroku is a cloud platform as a service (PaaS) supporting several programming languages. Developers use Heroku to deploy, manage, and scale modern apps. Heroku platform is elegant, flexible, and easy to use, offering developers the simplest path to getting their apps to market.

So, let's see how to deploy laravel on heroku with database, deploy laravel to heroku with database, deploy laravel website on heroku, how to host laravel project on heroku.

Heroku offers a free plan to help you learn and get started on the platform. Heroku buttons and buildpacks are free, and many heroku add-ons also offer a free plan.

Step 1 :  Install / download Heroku CLI

Step 2 : Install Laravel Application

Step 3 : Create a proc file

Step 4 : Initialize git repo

Step 5 : Login into the Heroku  and create App

Step 6 : Push Laravel changes to Heroku

Step 7 : Configure the postgresql Database on Heroku

Step 8 : Add the project files and run the migration
Enter fullscreen mode Exit fullscreen mode

Read More : How to Deploy Laravel on Heroku with Database

Top comments (0)