{"id":18953268,"url":"https://github.com/symfonycasts/doctrine-queries","last_synced_at":"2025-04-16T02:32:09.013Z","repository":{"id":164129803,"uuid":"593259739","full_name":"SymfonyCasts/doctrine-queries","owner":"SymfonyCasts","description":"SQL, DQL, Query Builders and code for the \"Query Like a Pro in Doctrine\" series - updated version of https://github.com/knpuniversity/doctrine-queries","archived":false,"fork":false,"pushed_at":"2025-02-24T15:06:27.000Z","size":1360,"stargazers_count":2,"open_issues_count":0,"forks_count":6,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-08T16:54:34.890Z","etag":null,"topics":["doctrine","doctrine-dbal","doctrine-orm","dql","query-builders","sql"],"latest_commit_sha":null,"homepage":"https://symfonycasts.com/screencast/doctrine-queries","language":"JavaScript","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/SymfonyCasts.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":"2023-01-25T15:54:42.000Z","updated_at":"2025-02-24T15:06:31.000Z","dependencies_parsed_at":"2024-02-20T23:41:00.704Z","dependency_job_id":"f942eb77-86a1-46a7-a8a2-c6d8ecb7c896","html_url":"https://github.com/SymfonyCasts/doctrine-queries","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/SymfonyCasts%2Fdoctrine-queries","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SymfonyCasts%2Fdoctrine-queries/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SymfonyCasts%2Fdoctrine-queries/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SymfonyCasts%2Fdoctrine-queries/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SymfonyCasts","download_url":"https://codeload.github.com/SymfonyCasts/doctrine-queries/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249184552,"owners_count":21226406,"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":["doctrine","doctrine-dbal","doctrine-orm","dql","query-builders","sql"],"created_at":"2024-11-08T13:37:48.841Z","updated_at":"2025-04-16T02:32:08.055Z","avatar_url":"https://github.com/SymfonyCasts.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tutorials, Fortune Cookies \u0026 Doctrine Queries\n\nWell hi there! This repository holds the code and script\nfor the [Doctrine Queries Tutorials](https://symfonycasts.com/screencast/doctrine-queries) on SymfonyCasts.\n\n## Setup\n\nIf you've just downloaded the code, congratulations!!\n\nTo get it working, follow these steps:\n\n**Download Composer dependencies**\n\nMake sure you have [Composer installed](https://getcomposer.org/download/)\nand then run:\n\n```\ncomposer install\n```\n\nYou may alternatively need to run `php composer.phar install`, depending\non how you installed Composer.\n\n**Database Setup**\n\nThe code comes with a `docker-compose.yaml` file and we recommend using\nDocker to boot a database container. You will still have PHP installed\nlocally, but you'll connect to a database inside Docker. This is optional,\nbut I think you'll love it!\n\nFirst, make sure you have [Docker installed](https://docs.docker.com/get-docker/)\nand running. To start the container, run:\n\n```\ndocker compose up -d\n```\n\nNext, build the database with:\n\n```\n# \"symfony console\" is equivalent to \"bin/console\"\n# but it's aware of your database container\nsymfony console doctrine:database:create --if-not-exists\nsymfony console doctrine:schema:update --force\nsymfony console doctrine:fixtures:load\n```\n\n(If you get an error about \"MySQL server has gone away\", just wait\na few seconds and try again - the container is probably still booting).\n\nIf you do *not* want to use Docker, just make sure to start your own\ndatabase server and update the `DATABASE_URL` environment variable in\n`.env` or `.env.local` before running the commands above.\n\n**Start the Symfony web server**\n\nYou can use Nginx or Apache, but Symfony's local web server\nworks even better.\n\nTo install the Symfony local web server, follow\n\"Downloading the Symfony client\" instructions found\nhere: https://symfony.com/download - you only need to do this\nonce on your system.\n\nThen, to start the web server, open a terminal, move into the\nproject, and run:\n\n```\nsymfony serve\n```\n\n(If this is your first time using this command, you may see an\nerror that you need to run `symfony server:ca:install` first).\n\nNow check out the site at `https://localhost:8000`\n\nHave fun!\n\n**OPTIONAL: Webpack Encore Assets**\n\nThis app uses Webpack Encore for the CSS, JS and image files.\nBut, the built files are already included... so you don't need\nto download or build anything if you don't want to!\n\nBut if you *do* want to play with the CSS/JS and build the\nfinal files, no problem. Make sure you have [yarn](https://yarnpkg.com/lang/en/)\nor `npm` installed (`npm` comes with Node) and then run:\n\n```\nyarn install\nyarn encore dev --watch\n\n# or\nnpm install\nnpm run watch\n```\n\n## Have Ideas, Feedback or an Issue?\n\nIf you have suggestions or questions, please feel free to\nopen an issue on this repository or comment on the course\nitself. We're watching both :).\n\n## Thanks!\n\nAnd as always, thanks so much for your support and letting\nus do what we love!\n\n\u003c3 Your friends at SymfonyCasts\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsymfonycasts%2Fdoctrine-queries","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsymfonycasts%2Fdoctrine-queries","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsymfonycasts%2Fdoctrine-queries/lists"}