{"id":18941217,"url":"https://github.com/reactphp/website","last_synced_at":"2025-04-15T20:31:47.912Z","repository":{"id":865097,"uuid":"4374315","full_name":"reactphp/website","owner":"reactphp","description":"Source code of reactphp.org.","archived":false,"fork":false,"pushed_at":"2024-06-05T09:29:17.000Z","size":1944,"stargazers_count":17,"open_issues_count":2,"forks_count":20,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-04-09T14:08:25.101Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://reactphp.org","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/reactphp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null},"funding":{"github":["reactphp","clue","WyriHaximus"],"open_collective":"reactphp"}},"created_at":"2012-05-18T22:56:46.000Z","updated_at":"2024-06-05T09:29:22.000Z","dependencies_parsed_at":"2024-04-08T16:58:36.268Z","dependency_job_id":"09168c18-52c2-40f1-afaf-239f10182886","html_url":"https://github.com/reactphp/website","commit_stats":{"total_commits":168,"total_committers":11,"mean_commits":"15.272727272727273","dds":0.5238095238095238,"last_synced_commit":"0e29f8ce7cfce376f5c3907903307d03cfa34c65"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reactphp%2Fwebsite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reactphp%2Fwebsite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reactphp%2Fwebsite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reactphp%2Fwebsite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reactphp","download_url":"https://codeload.github.com/reactphp/website/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248676236,"owners_count":21143888,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T12:26:43.951Z","updated_at":"2025-04-15T20:31:47.863Z","avatar_url":"https://github.com/reactphp.png","language":"CSS","funding_links":["https://github.com/sponsors/reactphp","https://github.com/sponsors/clue","https://github.com/sponsors/WyriHaximus","https://opencollective.com/reactphp"],"categories":[],"sub_categories":[],"readme":"# Website\n\n[![CI status](https://github.com/reactphp/website/actions/workflows/ci.yml/badge.svg)](https://github.com/reactphp/website/actions)\n[![Last deployed](https://img.shields.io/github/last-commit/reactphp/reactphp.github.io?label=last%20deployed\u0026logo=github)](https://github.com/reactphp/reactphp.github.io)\n\nSource code of reactphp.org.\n\n## Setup\n\n1. Copy `.env.dist` to `.env` and add a\n   [personal access token](https://github.com/settings/tokens) to the\n   `GITHUB_TOKEN` entry.\n\n   You don't need to check any of the scopes, `public access` is enough. The\n   build script uses the GitHub API to render markdown files and fetch\n   repository data and using the access token ensures that you don't run into\n   API rate limits.\n\n2. Install dependencies with `composer install`.\n\n## Build\n\nOnce set up, you can build the website by executing this:\n\n```bash\nbin/build\n```\n\nThis script will fetch all project repositories and then rebuild the entire website.\nThe resulting static website will be built into the `tmp/build` directory.\n\nIf you're working on the website source code, you may want to skip fetching all\ncomponents on every build like this:\n\n```bash\nbin/build --no-component-update\n```\n\nIf you're working on the website CSS or Javascript code, you will have to\nrebuild the static assets like this:\n\n```bash\nnpm run-script build\n```\n\n\u003e Note that compiled assets are expected to change much less frequently and are\n  under version control. Run `npm install` to install and later commit any changes\n  in `static-files/assets/`.\n\n## Deploy\n\nOnce built (see previous chapter), deployment is as simple as hosting the static\nwebsite contents of the `tmp/build` directory behind a webserver of your choice.\n\nWe use GitHub Pages to deploy this to the live site. This is done by pushing the\ncontents of the `tmp/build` directory to the repository hosted in\n[reactphp/reactphp.github.io](https://github.com/reactphp/reactphp.github.io).\n\nThis deployment can be started by executing this:\n\n```bash\nbin/build --deploy\n```\n\nNote that this will publish any changes you've made to your local repository,\nincluding any uncommitted ones. There should usually be no need to do this\nmanually, see next chapter for auto-deployment.\n\n## Auto-Deployment\n\nThe website can be automatically deployed via the GitHub Pages feature.\n\nAny time a commit is merged (such as when a PR is merged), GitHub actions will\nautomatically build and deploy the website. This is done by running the above\ndeployment script (see previous chapter).\n\n\u003e Repository setup:\n\u003e We're using a SSH deploy key for pushing to this target repository.\n\u003e Make sure the required `DEPLOY_KEY` secret is set in the repository settings on GitHub.\n\u003e See [action documentation](https://github.com/JamesIves/github-pages-deploy-action#using-an-ssh-deploy-key-)\n\u003e for more details.\n\u003e On top of this, you're recommended to add a [personal access token](https://github.com/settings/tokens)\n\u003e as a repository secret with the name `PAT` to avoid running into secondary rate limits.\n\u003e If this secret is not found, it will fall back to the automatic `GITHUB_TOKEN`\n\u003e secret, which may cause the build to fail occasionally.\n\n## License\n\nReleased under the [MIT](LICENSE) license.\n\n**Note:** The logo and the brand name are not MIT licensed.\nPlease check their [LICENSE](https://github.com/reactphp/branding/blob/master/LICENSE)\nfor usage guidelines.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freactphp%2Fwebsite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freactphp%2Fwebsite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freactphp%2Fwebsite/lists"}