{"id":16222451,"url":"https://github.com/opdavies/symfony-server-drupal-example","last_synced_at":"2025-04-08T00:58:55.460Z","repository":{"id":147755847,"uuid":"226735180","full_name":"opdavies/symfony-server-drupal-example","owner":"opdavies","description":null,"archived":false,"fork":false,"pushed_at":"2020-02-28T18:52:05.000Z","size":197,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-12T10:41:31.821Z","etag":null,"topics":["drupal","php","symfony-server"],"latest_commit_sha":null,"homepage":"https://www.oliverdavies.uk/articles/running-drupal-with-symfony-local-server","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/opdavies.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2019-12-08T21:35:51.000Z","updated_at":"2020-06-25T19:43:55.000Z","dependencies_parsed_at":"2023-05-27T10:45:37.857Z","dependency_job_id":null,"html_url":"https://github.com/opdavies/symfony-server-drupal-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opdavies%2Fsymfony-server-drupal-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opdavies%2Fsymfony-server-drupal-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opdavies%2Fsymfony-server-drupal-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opdavies%2Fsymfony-server-drupal-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opdavies","download_url":"https://codeload.github.com/opdavies/symfony-server-drupal-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238765156,"owners_count":19526848,"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":["drupal","php","symfony-server"],"created_at":"2024-10-10T12:14:12.931Z","updated_at":"2025-02-14T01:41:16.709Z","avatar_url":"https://github.com/opdavies.png","language":"PHP","readme":"# Testing the Symfony Local Server with Drupal\n\nAn example of running Drupal 8.8 on Symfony’s [local web server][docs].\n\n[docs]: https://symfony.com/doc/current/setup/symfony_server.html\n\n![A screenshot of Drupal's status page showing Symfony Local Server](docs/status.png)\n\n## Usage\n\n1. Install the Symfony CLI from \u003chttps://symfony.com/download\u003e.\n1. Clone this repository\n    ```bash\n    git clone https://github.com/opdavies/symfony-server-drupal-test.git\n\n    cd symfony-server-drupal-test\n    ```\n1. Run `composer install` to download all of the project’s dependencies (Drupal core, Examples module etc).\n1. Run `docker-compose up -d` to start the Docker container for MySQL. (You can run `docker-compose ps` afterwards to confirm that it’s running).\n1. Run `symfony server:start` to start the web server.\n1. Use Drush to install Drupal, prefixed by `symfony php` to allow access to the environment variables needed in `settings.php`:\n    ```bash\n    cd web\n\n    symfony php ../vendor/bin/drush site:install --no-interaction\n    ```\n1. Go to http://127.0.0.1:8000 to view the site.\n1. To run tests, PHPUnit also needs to be prefixed with `symfony php`:\n    ```bash\n    cd web\n\n    symfony php ../vendor/bin/phpunit -c core core/modules/action\n    ```\n1. Run `symfony server:stop` to stop the web server.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopdavies%2Fsymfony-server-drupal-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopdavies%2Fsymfony-server-drupal-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopdavies%2Fsymfony-server-drupal-example/lists"}