Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lambo, lambo-new: add page #5139

Merged
merged 3 commits into from
Jan 18, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions pages/common/lambo-new.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# lambo new

> A super-powered `laravel new` for Laravel and Valet.
> More information: <https://github.com/tighten/lambo>.

- Create a new Laravel application:

`lambo new {{app_name}}`

- Install the application in a specific path:

`lambo new --path={{path/to/directory}} {{app_name}}`

- Include authentication scaffolding:

`lambo new --auth {{app_name}}`

- Include a specific frontend:

`lambo new --{{vue|bootstrap|react}} {{app_name}}`

- Install npm dependencies after the project has been created:

`lambo new --node {{app_name}}`

- Create a Valet site after the project has been created:

`lambo new --link {{app_name}}`

- Create a new MySQL database with the same name as the project:

`lambo new --create-db --dbuser={{user}} --dbpassword={{password}} {{app_name}}`

- Open a specific editor after the project has been created:

`lambo new --editor="{{editor}}" {{app_name}}`
21 changes: 21 additions & 0 deletions pages/common/lambo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# lambo

> A super-powered `laravel new` for Laravel and Valet.
> See also `lambo new` for additional command flags.
> More information: <https://github.com/tighten/lambo>.

- Create a new Laravel application:

`lambo new {{app_name}}`

- Open the configuration in your default editor:

`lambo edit-config`

- Open the configuration in a specific editor:

`lambo edit-config --editor="{{path/to/editor}}"`

- Open the configuration file that is run after new applications have been scaffolded:

`lambo edit-after`