Skip to content

Add GitHub star prompt to install command#35

Open
shanerbaner82 wants to merge 1 commit intomainfrom
add-github-star-prompt
Open

Add GitHub star prompt to install command#35
shanerbaner82 wants to merge 1 commit intomainfrom
add-github-star-prompt

Conversation

@shanerbaner82
Copy link
Contributor

Summary

  • Adds a confirm() prompt after successful installation asking users if they'd like to star the repo on GitHub
  • Opens https://github.com/NativePHP/mobile-air in the default browser if they say yes
  • Defaults to "no" so it's non-intrusive
  • Uses platform-appropriate browser open commands (open/start/xdg-open)

Test plan

  • Run php artisan native:install and verify the star prompt appears after "installed successfully"
  • Confirm selecting "yes" opens the GitHub repo in the browser
  • Confirm selecting "no" skips and continues to the pro banner

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

1 participant