{"id":18031648,"url":"https://github.com/contao/core-bundle","last_synced_at":"2025-05-15T02:08:02.853Z","repository":{"id":38356137,"uuid":"20519851","full_name":"contao/core-bundle","owner":"contao","description":"[READ-ONLY] Contao Core Bundle","archived":false,"fork":false,"pushed_at":"2025-05-13T10:31:51.000Z","size":84559,"stargazers_count":124,"open_issues_count":0,"forks_count":56,"subscribers_count":39,"default_branch":"5.x","last_synced_at":"2025-05-13T11:22:40.127Z","etag":null,"topics":["cms","contao","core","php","symfony","symfony-bundle"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/contao.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,"publiccode":null,"codemeta":null},"funding":{"custom":"https://to.contao.org/donate"}},"created_at":"2014-06-05T09:45:55.000Z","updated_at":"2025-05-08T08:10:41.000Z","dependencies_parsed_at":"2022-07-12T02:17:23.696Z","dependency_job_id":"8f3f3be7-e8a7-4adc-8114-d2f9864dbece","html_url":"https://github.com/contao/core-bundle","commit_stats":{"total_commits":14392,"total_committers":123,"mean_commits":"117.00813008130082","dds":"0.26910783768760427","last_synced_commit":"c2d04ea50ef221ca68972f7c9f479c46b61f9608"},"previous_names":[],"tags_count":367,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/contao%2Fcore-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/contao%2Fcore-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/contao%2Fcore-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/contao%2Fcore-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/contao","download_url":"https://codeload.github.com/contao/core-bundle/tar.gz/refs/heads/5.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254259383,"owners_count":22040820,"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":["cms","contao","core","php","symfony","symfony-bundle"],"created_at":"2024-10-30T10:10:03.648Z","updated_at":"2025-05-15T02:07:57.844Z","avatar_url":"https://github.com/contao.png","language":"PHP","funding_links":["https://to.contao.org/donate"],"categories":[],"sub_categories":[],"readme":"# Contao core bundle\n\n[![](https://img.shields.io/packagist/v/contao/core-bundle.svg?style=flat-square)](https://packagist.org/packages/contao/core-bundle)\n[![](https://img.shields.io/packagist/dt/contao/core-bundle.svg?style=flat-square)](https://packagist.org/packages/contao/core-bundle)\n\nContao is an Open Source PHP Content Management System for people who want a professional website that is easy to\nmaintain. Visit the [project website][1] for more information.\n\nContao has been designed as a [Symfony][2] bundle, which can be used to add CMS functionality to any Symfony\napplication. If you do not have an existing Symfony application yet, we recommend using the [Contao managed edition][3]\nas basis for your application.\n\n## Prerequisites\n\nThe Contao core bundle has a recipe in the [symfony/recipes-contrib][6] repository. Be sure to either enable contrib\nrecipes for your project by running the following command or follow the instructions to use the contrib recipe during\nthe installation process.\n\n```\ncomposer config extra.symfony.allow-contrib true\n```\n\nAdd the `contao-component-dir` to the `extra` section of your `composer.json` file.\n\n```\ncomposer config extra.contao-component-dir assets\n```\n\n## Installation\n\nInstall Contao and all its dependencies by executing the following command:\n\n```\ncomposer require \\\n    contao/core-bundle:4.8.* \\\n    php-http/guzzle6-adapter:^1.1\n```\n\nNote that you can exchange the `php-http/guzzle6-adapter` package with any other [HTTP client implementation][4]. If you\nalready have an HTTP client implementation, you can omit the package entirely.\n\n## Configuration\n\nConfigure the `DATABASE_URL` in your environment, either using environment variables or by using the\n[Dotenv component][7].\n\nEnable ESI in the `config/packages/framework.yaml` file.\n\n```yaml\nframework:\n    esi: true\n```\n\nAdd the Contao routes to your `config/routing.yaml` file, and be sure to load the `ContaoCoreBundle` at the very end, so\nthe catch-all route does not catch your application routes.\n\n```yml\nContaoCoreBundle:\n    resource: \"@ContaoCoreBundle/config/routes.yaml\"\n```\n\nEdit your `config/security.yaml` file and merge all the `providers`, `encoders`, `firewalls` and `access_control`\nsections:\n\n```yml\nsecurity:\n    password_hashers:\n        Contao\\User: auto\n        Symfony\\Component\\Security\\Core\\User\\PasswordAuthenticatedUserInterface: auto\n\n    providers:\n        contao.security.backend_user_provider:\n            id: contao.security.backend_user_provider\n\n        contao.security.frontend_user_provider:\n            id: contao.security.frontend_user_provider\n\n    firewalls:\n        contao_backend:\n            request_matcher: contao.routing.backend_matcher\n            provider: contao.security.backend_user_provider\n            user_checker: contao.security.user_checker\n            switch_user: true\n            login_throttling: ~\n            webauthn:\n                authentication:\n                    enabled: true\n                    profile: contao_backend\n                    routes:\n                        options_path: /_contao/login/webauthn/options\n                        result_path: /_contao/login/webauthn/result\n\n            login_link:\n                check_route: contao_backend_login_link\n                signature_properties: [username, lastLogin]\n                success_handler: contao.security.authentication_success_handler\n\n            contao_login:\n                remember_me: false\n\n            logout:\n                path: contao_backend_logout\n\n        contao_frontend:\n            request_matcher: contao.routing.frontend_matcher\n            provider: contao.security.frontend_user_provider\n            user_checker: contao.security.user_checker\n            access_denied_handler: contao.security.access_denied_handler\n            switch_user: false\n            login_throttling: ~\n\n            contao_login:\n                remember_me: true\n\n            remember_me:\n                secret: '%kernel.secret%'\n                remember_me_parameter: autologin\n                token_provider:\n                    doctrine: true\n\n            logout:\n                path: contao_frontend_logout\n\n    access_control:\n        - { path: ^%contao.backend.route_prefix%/login$, roles: PUBLIC_ACCESS }\n        - { path: ^%contao.backend.route_prefix%/logout$, roles: PUBLIC_ACCESS }\n        - { path: ^%contao.backend.route_prefix%(/|$), roles: ROLE_USER }\n        - { path: ^/, roles: [PUBLIC_ACCESS] }\n```\n\nThe Contao core-bundle is now installed and activated. Use the `contao:migrate` command to upgrade the database and the\n`contao:user:create` command to create your first back end user.\n\n## License\n\nContao is licensed under the terms of the LGPLv3.\n\n## Getting support\n\nVisit the [support page][5] to learn about the available support options.\n\n[1]: https://contao.org\n[2]: https://symfony.com\n[3]: https://github.com/contao/managed-edition\n[4]: https://packagist.org/providers/php-http/client-implementation\n[5]: https://to.contao.org/support\n[6]: https://github.com/symfony/recipes-contrib\n[7]: http://symfony.com/doc/current/components/dotenv.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontao%2Fcore-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcontao%2Fcore-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontao%2Fcore-bundle/lists"}