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

[2.x] Add --composer option to the install command #607

Merged
merged 3 commits into from
Jan 8, 2021
Merged

[2.x] Add --composer option to the install command #607

merged 3 commits into from
Jan 8, 2021

Conversation

miclaus
Copy link
Contributor

@miclaus miclaus commented Jan 7, 2021

Adds the optional --composer option to the install command. This option may receive a path pointing to a specific composer binary. As proposed in PR #588.

php artisan jetstream:install livewire --composer=composer.phar

php artisan jetstream:install livewire --teams --composer=composer.phar

This is useful for systems where no global composer binary is installed.

Using this flag will use the local composer.phar binary installed at the base path instead of the global composer binary command.

This is useful for systems where composer is not installed globally.
@miclaus miclaus changed the title Add optional --composer option to the install command Add --composer option to the install command Jan 7, 2021
@driesvints driesvints changed the title Add --composer option to the install command [2.x] Add --composer option to the install command Jan 7, 2021
@taylorotwell
Copy link
Member

Why do you not have Composer globally available?

@taylorotwell taylorotwell merged commit 092c3d0 into laravel:2.x Jan 8, 2021
@miclaus
Copy link
Contributor Author

miclaus commented Jan 10, 2021

@taylorotwell personally, I used to run into permission issues where I was forced to use sudo (which I later learned should be avoided, https://getcomposer.org/root)

But I also found it practical to have it included for developers who don't necessarily have it installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants