2017 © Pedro Peláez
 

library heroku-php

image

chatbox-inc/heroku-php

  • Thursday, December 28, 2017
  • by mikakane
  • Repository
  • 2 Watchers
  • 0 Stars
  • 433 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

Laravel on Heroku

Latest Stable Version, (*1)

These are ServiceProviders that helps you use Laravel on Heroku., (*2)

functions

These provider wont be auto-discovered., (*3)

You should add setting to config/app.php., (*4)

  • HerokuPostgresServiceProvider : Support to connect Heroku Postgres
  • HerokuRedisServiceProvider : Support to connect Heroku Redis

Usage

$ composer require chatbox-inc/laravel-heroku

Heroku Postgres / Heroku Redis

HerokuPostgresServiceProvider をサービスプロバイダとして公開, (*5)

For Laravel, (*6)

// at config/app.php

"providers" => [
    HerokuPostgresServiceProvider::class,
]

After that, You can use herokupg keyword as DB_CONNECTION value., (*7)

DATABASE_URL will auto parsed on connecting DB., (*8)

DB_CONNECTION=herokupg
DATABASE_URL=postgres://xxxxxxxxxxxxxxxxxxxxxxxxx

Heroku Redis

HerokuRedisServiceProvider will auto setup your redis connection., (*9)

REDIS_URL will automatically parsed to connect Redis., (*10)

Procfile

cp vendor/chatbox-inc/laravel-heroku/Procfile Procfile

The Versions

28/12 2017

dev-master

9999999-dev

  Sources   Download

MIT

The Requires

  • php 7.*

 

by Avatar mikakane

28/12 2017

0.0.5

0.0.5.0

  Sources   Download

MIT

The Requires

  • php 7.*

 

by Avatar mikakane

25/10 2016

0.0.4

0.0.4.0

  Sources   Download

MIT

by Avatar mikakane

25/10 2016

0.0.3

0.0.3.0

  Sources   Download

MIT

by Avatar mikakane

07/08 2016

0.0.2

0.0.2.0

  Sources   Download

MIT

The Development Requires

by Avatar mikakane

13/06 2016

0.0.1

0.0.1.0

  Sources   Download

MIT

The Development Requires

by Avatar mikakane