Repository navigation
Description
Summary
Invite users to star the Quantum repository on GitHub in two places of the starter project:
- a short console message after
install:democompletes successfully; - the translation texts for the star block that the
DemoWebAbout page of the framework now shows (Add a GitHub star message and repository link to the DemoWeb About page framework#542).
Why
The project creation flow already runs:
php qt install:demo --yes
through post-create-project-cmd.
That makes the demo install command one of the first guided experiences users see after creating a new Quantum project. At the moment, install:demo ends with:
Demo project created successfully
This is a reasonable place to show a small follow-up message asking users to support the framework by starring the repository on GitHub.
install:demo also generates the Web module from the framework's DemoWeb template, and the About page of that template reads its star texts from common.star.message, common.star.button and common.star.badge_alt. The demo's translations live in this project (shared/resources/lang/{en,es}/common.php), so the keys have to be added here, otherwise the page shows the key names.
Goal
- Add a concise post-success message to the demo installation command that appears after the demo has been created successfully and includes the repository URL.
- Add the
startexts to the English and Spanishcommonfiles.
Proposed Direction
- After the existing success message in
install:demo, show a short follow-up line such asWould you like to show some love by starring Quantum on GitHub? https://github.com/quantum-php/framework, or similar wording, as long as it stays lightweight and includes the direct repository link. The repository URL in the first version of this ticket used the old namesoftberg/quantum-php-core; the current one isquantum-php/framework. - Add a nested
stargroup toshared/resources/lang/en/common.phpandshared/resources/lang/es/common.php, next to the existingcommentsgroup, with the keysmessage,buttonandbadge_alt.
Acceptance Criteria
- after
install:democompletes successfully, a star message is shown in the console - the message only appears on successful completion, not when the operation is cancelled or fails
- the message includes the direct GitHub repository URL
- the message wording is concise and does not interrupt the installation flow
common.star.message,common.star.buttonandcommon.star.badge_altexist in the English and Spanishcommonfiles- the pull request is merged before the framework release that carries the new About page, so a new project shows the texts and not the key names
Notes
Relevant code:
shared/Commands/DemoCommand.phpshared/resources/lang/en/common.phpandshared/resources/lang/es/common.phpcomposer.jsonpost-create-project script
The modules/ folder is generated by install:demo and is not tracked, so there is no About page to change in this project. The split of common into files by topic is quantum-php/framework#644; the star group can move as it is.
Activity
[quantum-php#194] Download the demo images without verifying the cert…
[quantum-php#194] Make the star message link clickable
armanist commentedon Nov 3, 2026
While running `php qt install:demo --yes` for this ticket, the "Generating users" step stopped with:
```
SSL peer certificate or SSH remote key was not OK: SSL certificate problem: unable to get local issuer certificate
```
The demo downloads its images over HTTPS in `save_remote_images()` (and `save_remote_image()`, for a single image) in `helpers/functions.php`. On a PHP without a CA bundle (`curl.cainfo` and `openssl.cafile` empty in `php.ini`, common on Windows) curl cannot verify the site and the install stops before the star message.
Both helpers now set `CURLOPT_SSL_VERIFYPEER` to `false`. It is set only in these two helpers, which download public demo images; the framework's `HttpClient` and the mailer still verify certificates. This means the certificate of those image downloads is not verified. I checked it on PHP 8.1 without a CA bundle: with verification on the download fails with the error above, with it off it succeeds.
It is part of the pull request for this ticket (#213), as its own commit, with a `CHANGELOG.md` line under Fixed.
[#194] Show a GitHub star message after install:demo
[#194] Add the star texts to the common lang files