Deploy Laravel application with a database to Heroku

Prerequisites

Create a Laravel Application

Initialize a Git repository

Create Procfile file

Login to Heroku CLI

Create a new application on Heroku

heroku config vars
heroku config vars
Heroku Config Vars

Add Database

add database
add database
Add database
Dashboard — Resource
config/detabase.php
config/database.php
heroku run bash
php artisan migrate

Software Developer @ mditech.net