Skip to content

Automatically creates and deploys a Laravel app to Heroku with one line of command!

Notifications You must be signed in to change notification settings

mburakkalkan/heroku-laravel-crafter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Heroku Laravel Crafter

Heroku Laravel Crafter is a simple command line tool for easy creation of a Laravel project and deployment on Heroku.

It automatically creates a Laravel app, then does all the jobs required for deployment to Heroku.


Features:

  • Always uses latest and fresh version of Laravel
  • Automatically creates the Heroku app with the name you provide
  • Adds free plan Heroku PostgreS and Heroku Redis addons
  • Adds heroku/php, heroku/nodejs and heroku-buildpack-locale buildpacks (locale buildpack is very useful for OS regional settings, timezone etc.)
  • Generates Procfile for Laravel
  • Applies the optimized best practices
  • Patches the app/Http/Middleware/TrustProxies.php for Heroku
  • Automatically sets environment variables for Heroku

⚠️ Requirements

  • Composer
  • Latest version of Heroku CLI
  • The minimum version of PHP which the latest version of Laravel requires

⚙️ Installation

  • npm install -g heroku-laravel-crafter

🔥 Usage

  • heroku login
  • heroku-laravel-create <your-app-name> --ui=vue --auth=yes --region=eu --locale=tr_TR --version=8.*

Switches

Switch Description Default
region See from heroku regions us
locale Your localization code en_US
ui Laravel UI scaffolding framework (none, bootstrap, vue, react) vue
auth Laravel UI auth scaffolding (yes, no) yes
version Select a specific Laravel version (7.*, 5.5, 6.0, ...) latest

About

Automatically creates and deploys a Laravel app to Heroku with one line of command!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published