1.3.1 • Published 3 years ago

heroku-laravel-crafter v1.3.1

Weekly downloads
6
License
ISC
Repository
github
Last release
3 years ago

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.


:star: 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

:warning: Requirements

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

:gear: Installation

  • npm install -g heroku-laravel-crafter

:fire: Usage

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

Switches

SwitchDescriptionDefault
regionSee from heroku regionsus
localeYour localization codeen_US
uiLaravel UI scaffolding framework (none, bootstrap, vue, react)vue
authLaravel UI auth scaffolding (yes, no)yes
versionSelect a specific Laravel version (7.*, 5.5, 6.0, ...)latest