/laravel-up

Powerful yet simple Docker environments built on Best Practices for both Dev and Production ⬆️

Primary LanguageTypeScript

Laravel Up ⬆️

A Delightful Developer Environment and CLI for the Laravel Framework

oclif Version Downloads/week License

Usage

$ npm install -g @badassery/laravel-up
$ lvl COMMAND
running command...
$ lvl (-v|--version|version)
@badassery/laravel-up/0.0.8 linux-x64 node-v10.15.2
$ lvl --help [COMMAND]
USAGE
  $ lvl COMMAND
...

Commands

lvl artisan COMMAND

Runs an artisan command (eg make:controller {name})

USAGE
  $ lvl artisan COMMAND

ARGUMENTS
  COMMAND  The command to pass to artisan

OPTIONS
  -h, --command-help  Passes --help to the underlying composer command
  -s, --silent        Silent mode prevents artisan shell output

See code: src/commands/artisan.ts

lvl composer COMMAND

Executes a composer command

USAGE
  $ lvl composer COMMAND

ARGUMENTS
  COMMAND  The command to pass to composer. Should be wrapped in quotes if passing flags

OPTIONS
  -h, --command-help  Passes --help to the underlying composer command
  -s, --silent        Silent mode prevents Composer shell output

See code: src/commands/composer.ts

lvl configure

Configures an existing vanilla Laravel app as an Up project

USAGE
  $ lvl configure

OPTIONS
  -h, --help  show CLI help

See code: src/commands/configure.ts

lvl help [COMMAND]

display help for lvl

USAGE
  $ lvl help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

lvl new

Creates a new Laravel Up project

USAGE
  $ lvl new

OPTIONS
  -v, --verbose

See code: src/commands/new.ts

lvl up [DIRECTORY]

Spins Up your local dev environment

USAGE
  $ lvl up [DIRECTORY]

ARGUMENTS
  DIRECTORY  The Laravel Up directory you would like to launch

OPTIONS
  -v, --verbose

See code: src/commands/up.ts

lvl down [DIRECTORY] [OPTIONS,]

To Stop your local dev environment

USAGE
  $ lvl down [DIRECTORY] [OPTIONS,]

ARGUMENTS
  DIRECTORY  Running Laravel Up directory you would like to stop

OPTIONS
  -v, --verbose
  -d, --destroy To remove dev environment docker volumes

See code: src/commands/down.ts