larasail
larasail copied to clipboard
Feature: Add Git Repo in larasail new
Is your feature request related to a problem? Please describe.
It would be amazing to pass a git repository while initiating a new project. This would make it easy to provision a test environment for an existing app.
Describe the solution you'd like
For new repositories, --git
parameter would be passed through to laravel new project --git
.
If --repo
(or repository
) is passed, then a git clone
is performed instead of `larasail new project.tld.
Alternatively, we can have a command different from new
e.g deploy
to avoid complicating new
to support params such as --dev
(can be used to determine if to --no-dev
in composer install and determine the npm script to run)
Additional context
Every application environment is different to the next therefore this will be sufficient for everyone. Would love to hear additional thoughts and if this is a desired feature in the first place.