chatbox-inc/laravel-heroku is a Laravel package.
It currently has 1 GitHub stars and 1.994 downloads on Packagist (latest version 0.0.8).
Install it with composer require chatbox-inc/laravel-heroku.
Discover more Laravel packages by chatbox-inc
or browse all Laravel packages to compare alternatives.
Last updated
These are ServiceProviders that helps you use Laravel on Heroku.
These provider wont be auto-discovered.
You should add setting to config/app.php.
$ composer require chatbox-inc/laravel-heroku
HerokuPostgresServiceProvider をサービスプロバイダとして公開
For Laravel
// at config/app.php
"providers" => [
HerokuPostgresServiceProvider::class,
]
After that, You can use herokupg keyword as DB_CONNECTION value.
DATABASE_URL will auto parsed on connecting DB.
DB_CONNECTION=herokupg
DATABASE_URL=postgres://xxxxxxxxxxxxxxxxxxxxxxxxx
HerokuRedisServiceProvider will auto setup your redis connection.
REDIS_URL will automatically parsed to connect Redis.
cp vendor/chatbox-inc/laravel-heroku/Procfile Procfile