{"id":13519439,"url":"https://github.com/symfony/demo","last_synced_at":"2025-05-14T09:06:18.728Z","repository":{"id":29259477,"uuid":"32792088","full_name":"symfony/demo","owner":"symfony","description":"Symfony Demo Application","archived":false,"fork":false,"pushed_at":"2025-04-29T13:56:20.000Z","size":22779,"stargazers_count":2521,"open_issues_count":18,"forks_count":1656,"subscribers_count":124,"default_branch":"main","last_synced_at":"2025-05-07T08:03:37.600Z","etag":null,"topics":["demo","php","symfony","symfony-application"],"latest_commit_sha":null,"homepage":"https://symfony.com/","language":"PHP","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/symfony.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"fabpot","tidelift":"packagist/symfony/symfony","custom":"https://symfony.com/sponsor"}},"created_at":"2015-03-24T10:37:08.000Z","updated_at":"2025-05-01T10:51:24.000Z","dependencies_parsed_at":"2023-10-22T18:24:25.237Z","dependency_job_id":"76a50465-53e6-4176-be0e-2cd1ef770239","html_url":"https://github.com/symfony/demo","commit_stats":{"total_commits":1200,"total_committers":203,"mean_commits":5.911330049261084,"dds":0.635,"last_synced_commit":"5dd64c8440b3a3b1133bd128babcf3cdf97f0ac1"},"previous_names":[],"tags_count":57,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/symfony%2Fdemo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/symfony%2Fdemo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/symfony%2Fdemo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/symfony%2Fdemo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/symfony","download_url":"https://codeload.github.com/symfony/demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254110373,"owners_count":22016391,"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":["demo","php","symfony","symfony-application"],"created_at":"2024-08-01T05:01:59.106Z","updated_at":"2025-05-14T09:06:18.670Z","avatar_url":"https://github.com/symfony.png","language":"PHP","funding_links":["https://github.com/sponsors/fabpot","https://tidelift.com/funding/github/packagist/symfony/symfony","https://symfony.com/sponsor"],"categories":["PHP"],"sub_categories":[],"readme":"Symfony Demo Application\n========================\n\nThe \"Symfony Demo Application\" is a reference application created to show how\nto develop applications following the [Symfony Best Practices][1].\n\nYou can also learn about these practices in [the official Symfony Book][5].\n\nRequirements\n------------\n\n  * PHP 8.2.0 or higher;\n  * PDO-SQLite PHP extension enabled;\n  * and the [usual Symfony application requirements][2].\n\nInstallation\n------------\n\nThere are 3 different ways of installing this project depending on your needs:\n\n**Option 1.** [Download Symfony CLI][4] and use the `symfony` binary installed\non your computer to run this command:\n\n```bash\nsymfony new --demo my_project\n```\n\n**Option 2.** [Download Composer][6] and use the `composer` binary installed\non your computer to run these commands:\n\n```bash\n# you can create a new project based on the Symfony Demo project...\ncomposer create-project symfony/symfony-demo my_project\n\n# ...or you can clone the code repository and install its dependencies\ngit clone https://github.com/symfony/demo.git my_project\ncd my_project/\ncomposer install\n```\n\n**Option 3.** Click the following button to deploy this project on Platform.sh,\nthe official Symfony PaaS, so you can try it without installing anything locally:\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://console.platform.sh/projects/create-project?template=https://raw.githubusercontent.com/symfonycorp/platformsh-symfony-template-metadata/main/symfony-demo.template.yaml\u0026utm_content=symfonycorp\u0026utm_source=github\u0026utm_medium=button\u0026utm_campaign=deploy_on_platform\"\u003e\u003cimg src=\"https://platform.sh/images/deploy/lg-blue.svg\" alt=\"Deploy on Platform.sh\" width=\"180px\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nUsage\n-----\n\nThere's no need to configure anything before running the application. There are\n2 different ways of running this application depending on your needs:\n\n**Option 1.** [Download Symfony CLI][4] and run this command:\n\n```bash\ncd my_project/\nsymfony serve\n```\n\nThen access the application in your browser at the given URL (\u003chttps://localhost:8000\u003e by default).\n\n**Option 2.** Use a web server like Nginx or Apache to run the application\n(read the documentation about [configuring a web server for Symfony][3]).\n\nOn your local machine, you can run this command to use the built-in PHP web server:\n\n```bash\ncd my_project/\nphp -S localhost:8000 -t public/\n```\n\nTests\n-----\n\nExecute this command to run tests:\n\n```bash\ncd my_project/\n./bin/phpunit\n```\n\n[1]: https://symfony.com/doc/current/best_practices.html\n[2]: https://symfony.com/doc/current/setup.html#technical-requirements\n[3]: https://symfony.com/doc/current/setup/web_server_configuration.html\n[4]: https://symfony.com/download\n[5]: https://symfony.com/book\n[6]: https://getcomposer.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsymfony%2Fdemo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsymfony%2Fdemo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsymfony%2Fdemo/lists"}