PHPackages                             autoidle/laravel-heroku - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. autoidle/laravel-heroku

AbandonedArchivedProject[Framework](/categories/framework)

autoidle/laravel-heroku
=======================

Latest Laravel with best practices for deployment on Heroku.

v5.8.35(6y ago)17327[10 PRs](https://github.com/autoidle/laravel5-heroku/pulls)MITPHPPHP 7.3.\*

Since Jun 30Pushed 3y ago1 watchersCompare

[ Source](https://github.com/autoidle/laravel5-heroku)[ Packagist](https://packagist.org/packages/autoidle/laravel-heroku)[ RSS](/packages/autoidle-laravel-heroku/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (4)Dependencies (10)Versions (15)Used By (0)

Laravel on Heroku
=================

[](#laravel-on-heroku)

Laravel with best practices for deployment on Heroku. [Our articles on Medium](https://medium.com/@AutoIdle)

Works out of the box
====================

[](#works-out-of-the-box)

Features
--------

[](#features)

- `Heroku Postgres` (for Database)
- `Heroku Redis` (for Cache, Queue and Session)
- Migrate Database automatically on deploy
- Logging
- With Scheduler

Deploy to Heroku
----------------

[](#deploy-to-heroku)

[![Deploy](https://camo.githubusercontent.com/4eea217b02568cc464752586784ae247b22e99fea520a15b6f919b15934ba8ca/68747470733a2f2f7777772e6865726f6b7563646e2e636f6d2f6465706c6f792f627574746f6e2e737667)](https://heroku.com/deploy?template=https://github.com/autoidle/laravel5-heroku)

[![Create New App - Heroku](https://raw.githubusercontent.com/autoidle/laravel5-heroku/master/doc/heroku.png)](https://raw.githubusercontent.com/autoidle/laravel5-heroku/master/doc/heroku.png)

Setup locally and deploy to Heroku
----------------------------------

[](#setup-locally-and-deploy-to-heroku)

### 1. Install Heroku CLI

[](#1-install-heroku-cli)

### 2. Create a new project

[](#2-create-a-new-project)

```
composer create-project autoidle/laravel5-heroku my-laravel-heroku

```

### 3. Tracking your app in Git

[](#3-tracking-your-app-in-git)

```
cd my-laravel-heroku
git init
git add .
git commit -m 'Fresh Laravel installation'

```

### 4. Add Heroku app

[](#4-add-heroku-app)

```
heroku create my-laravel-heroku --region eu --addons=heroku-postgresql:hobby-dev,heroku-redis:hobby-dev

```

### 5. Set ENV variables

[](#5-set-env-variables)

```
heroku config:set APP_DEBUG=true
heroku config:set APP_KEY=$(php artisan --no-ansi key:generate --show)

```

### 6. Push your code to laravel

[](#6-push-your-code-to-laravel)

```
git push heroku master

```

### 7. Checkout your Laravel installation on Heroku

[](#7-checkout-your-laravel-installation-on-heroku)

```
heroku open

```

### 8. Checkout the log (Optional)

[](#8-checkout-the-log-optional)

```
heroku logs -t

```

Extend with Laravel Auth (Optional)
-----------------------------------

[](#extend-with-laravel-auth-optional)

### 1. Laravel provides a quick way to scaffold all of the routes and views you need for authentication using one simple command:

[](#1-laravel-provides-a-quick-way-to-scaffold-all-of-the-routes-and-views-you-need-for-authentication-using-one-simple-command)

```
php artisan make:auth

```

### 2. Add changes to Git

[](#2-add-changes-to-git)

```
git add .
git commit -m 'Add Laravel Auth'

```

### 3. Deploy to Heroku

[](#3-deploy-to-heroku)

```
git push heroku master

```

### 4. Checkout your Laravel installation on Heroku with Auth

[](#4-checkout-your-laravel-installation-on-heroku-with-auth)

```
heroku open

```

[![Laravel with Auth on Heroku (Registration)](https://raw.githubusercontent.com/autoidle/laravel5-heroku/master/doc/register.png)](https://raw.githubusercontent.com/autoidle/laravel5-heroku/master/doc/register.png)

[![Laravel with Auth on Heroku (Logged in)](https://raw.githubusercontent.com/autoidle/laravel5-heroku/master/doc/home.png)](https://raw.githubusercontent.com/autoidle/laravel5-heroku/master/doc/home.png)

---

[Code difference between Laravel and Laravel on Heroku](https://github.com/autoidle/laravel5-heroku/compare/84ce504...master)

---

We are building a Heroku Add-on that helps you save money by automatically putting your non-critical apps to sleep after a period of inactivity.

[AutoIdle on the Heroku Marketplace](https://elements.heroku.com/addons/autoidle)

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 64.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~34 days

Total

4

Last Release

2453d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/49ef55f2b18b3c3cd7c4fb4dfd0b6cd18ee66ed1ca2b51bf24bcebbe3e2d15fd?d=identicon)[sgasser](/maintainers/sgasser)

---

Top Contributors

[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (11 commits)")[![michaelvickersuk](https://avatars.githubusercontent.com/u/13500452?v=4)](https://github.com/michaelvickersuk "michaelvickersuk (5 commits)")[![stefan-gasser](https://avatars.githubusercontent.com/u/250098312?v=4)](https://github.com/stefan-gasser "stefan-gasser (1 commits)")

---

Tags

herokularavelframeworklaravelheroku

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/autoidle-laravel-heroku/health.svg)

```
[![Health](https://phpackages.com/badges/autoidle-laravel-heroku/health.svg)](https://phpackages.com/packages/autoidle-laravel-heroku)
```

###  Alternatives

[laravel/laravel

The skeleton application for the Laravel framework.

84.5k63.2M1.0k](/packages/laravel-laravel)[bagisto/bagisto

Bagisto Laravel E-Commerce

27.6k172.1k9](/packages/bagisto-bagisto)[unopim/unopim

UnoPim Laravel PIM

10.5k2.2k](/packages/unopim-unopim)[nasirkhan/laravel-starter

A CMS like modular Laravel starter project.

1.4k2.7k](/packages/nasirkhan-laravel-starter)[codewithdennis/larament

Larament is a time-saving starter kit to quickly launch Laravel 13.x projects. It includes FilamentPHP 5.x pre-installed and configured, along with additional tools and features to streamline your development workflow.

3911.7k](/packages/codewithdennis-larament)[ercogx/laravel-filament-starter-kit

This is a Filament v5 Starter Kit for Laravel 13, designed to accelerate the development of Filament-powered applications.

461.7k](/packages/ercogx-laravel-filament-starter-kit)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
