CARVIEW |
Select Language
HTTP/2 200
date: Sun, 20 Jul 2025 09:13:37 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-robots-tag: none
etag: W/"02a45e019a7f1a2591c8a5df2b7b1e15"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=rNMOOe9syyoapNYlVWQLXoJHOekzZZaXhV4edAQTu8FO1n2HUdD%2FkvD6ydcGpKXJJzwBCjUCu1ctmaQw1R5SrYjlLv%2FmDnlmc5R07AX2OfmyrTSXwLq4%2Fi%2BENCXm19T2yPj7cU%2Bak%2Bl%2BLrl%2Fv%2Bn0kinyAu7n698hIIlOvUVbtAOpjcDVhW%2BE%2FHlPZZTQ5A4SBA1YCpiYCsOLgMGCpQu97Y6b9nY56F0xP%2F5Q4woTLxY9EQCHUE2j1f2D4Vc%2BUoQv6ubLdoczFhDL6PCF%2FCw%2FMg%3D%3D--Er4KjYsaOxaxoxWb--siLpp5Kb5q7%2BjYliPcomEw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.757949428.1753002817; Path=/; Domain=github.com; Expires=Mon, 20 Jul 2026 09:13:37 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 20 Jul 2026 09:13:37 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 86B2:249704:C432F0:FE4254:687CB341
Contribution · phpbrew/phpbrew Wiki · GitHub
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 370
Contribution
Yo-An Lin edited this page Jun 25, 2014
·
15 revisions
Please discuss your idea first on GitHub issues with us before sending your pull request for new features and design.
To develop new features, please checkout develop
branch for development.
For bug fix, you may fix it directly on master
.
- Don't add too many dependencies just for few features.
- You should keep the compiled phar file (phpbrew.phar) as small as possible.
- You should add an unit test for the newly added feature.
- PRs should pass the travis-ci tests, your PR can get merged sooner if your PR passed these tests.
- Please follow the current coding style in PHPBrew.
- Don't replace under-layer components just for replacing components. The replacement MUST be for new obvious features.
Please describe the details of your PR. For new features, please consult the PR template below:
## Purpose
Describe the purpose of this PR.
## Changes
Describe the changes of this PR.
## Effect
Is there any effect if we merge this PR.
## Tests
The unit tests of this PR.
## Usage
How to enable/use this feature
$ composer install --dev
The main shell script is in phpbrew.sh
, you may modify it then re-source it in your shell:
source phpbrew.sh
If everything works fine, you may update it to the InitCommand class:
scripts/update-init-script
If you need to modify PHP source, you may run bin/phpbrew
to test your code:
php bin/phpbrew {command}
If everything works fine, you may re-compile the phpbrew phar file:
scripts/compile
The compilation needs onion
to do the job, please download onion from https://github.com/c9s/Onion
You can’t perform that action at this time.