- The
--githuboption uses Symfony Console'sVALUE_OPTIONALmode, which silently consumes the next positional argument as the option value when no=separator is used. Runninglaravel new --github my-appcausedmy-appto be captured as the option value rather than the project name, and the installer would prompt for the name again before building a brokengh repo createcommand with the project name duplicated in the flags position — e.g.gh repo create my-app --source=. --push my-app.
-
The
--githuboption now accepts an optional repository name, allowing the GitHub repository to be named differently from the project directory:
laravel new my-app --github=my-different-repo-name