{"id":15192341,"url":"https://github.com/fadilxcoder/sf6-sqlite-mongodb","last_synced_at":"2026-03-04T19:31:29.156Z","repository":{"id":166937419,"uuid":"608789349","full_name":"fadilxcoder/sf6-sqlite-mongodb","owner":"fadilxcoder","description":"Symfony 6 - SQLite - MongDB","archived":false,"fork":false,"pushed_at":"2023-05-18T19:05:55.000Z","size":190,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-28T20:40:26.928Z","etag":null,"topics":["docker","graphql-client","mongodb","sqlite","symfony","xdebug"],"latest_commit_sha":null,"homepage":"","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/fadilxcoder.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-03-02T18:34:54.000Z","updated_at":"2023-05-20T07:43:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"80065ce9-d55c-40ff-a38c-80760f3ac3c4","html_url":"https://github.com/fadilxcoder/sf6-sqlite-mongodb","commit_stats":{"total_commits":10,"total_committers":1,"mean_commits":10.0,"dds":0.0,"last_synced_commit":"4cd8e822163a660b00dc5443f65a5ef05bcfd8f6"},"previous_names":["fadilxcoder/sf6-sqlite-mongodb"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fadilxcoder/sf6-sqlite-mongodb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fadilxcoder%2Fsf6-sqlite-mongodb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fadilxcoder%2Fsf6-sqlite-mongodb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fadilxcoder%2Fsf6-sqlite-mongodb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fadilxcoder%2Fsf6-sqlite-mongodb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fadilxcoder","download_url":"https://codeload.github.com/fadilxcoder/sf6-sqlite-mongodb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fadilxcoder%2Fsf6-sqlite-mongodb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30090516,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T18:31:08.343Z","status":"ssl_error","status_checked_at":"2026-03-04T18:31:07.708Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["docker","graphql-client","mongodb","sqlite","symfony","xdebug"],"created_at":"2024-09-27T21:21:47.219Z","updated_at":"2026-03-04T19:31:29.124Z","avatar_url":"https://github.com/fadilxcoder.png","language":"PHP","readme":"# Notes\n\n- URL : `http://127.0.0.1:8881/`\n- Profiler : `http://127.0.0.1:8881/_profiler`\n- Permission issues on cache repo : `chown -R root:root var/cache/`\n- Forcing cache clear : `rm -rf ./src/var/cache/dev/`\n- MongoUI : `http://localhost:4321/`\n- CLI\n- - `php bin/console dba:cache:init`\n- - `php bin/console app:mongo:init clear`\n- - `php bin/console app:mongo:find`\n- - `php bin/console app:mongo:find 645e6f7d0429d100de0c5a77`\n- - `php bin/console app:graphql:query`\n\n## MongoDB\n\n- `docker-compose.yml` - added `mongo-db` \u0026 `mongo-gui`\n- `Dockerfile` - php extension : `mongodb`\n- Install composer package : `composer require doctrine/mongodb-odm-bundle`\n- `AppController` - Persisting in MongoDB\n\n```php\npublic function index(DocumentManager $dm): JsonResponse\n{\n\n    $product = new Product();\n    $product\n        -\u003esetName('A Foo Bar')\n        -\u003esetPrice('19.99')\n    ;\n\n    $dm-\u003epersist($product);\n    $dm-\u003eflush();\n    ...\n```\n\n## DBA\n\n- Pak8ge : `https://github.com/fadilxcoder/dba-php-packagist.git`\n\n--- \n## Xdebug / VS Code\n\n\n```\nzend_extension=xdebug\n[xdebug]\nxdebug.mode=develop,debug\nxdebug.client_host=host.docker.internal\nxdebug.start_with_request=yes\n```\n\n- `docker-compose.yml`\n\n```\n    extra_hosts:\n      - \"host.docker.internal:host-gateway\"\n```\n\n- `launch.json`\n\n```\n{\n    \"version\": \"0.2.0\",\n    \"configurations\": [\n        {\n            \"name\": \"Xdebug Symfony MVP\",\n            \"type\": \"php\",\n            \"request\": \"launch\",\n            \"port\": 9003,\n            \"pathMappings\": {\n                \"/var/www/html/\": \"${workspaceFolder}/src/\"\n            }\n        }\n    ]\n}\n```\n\n\u003cimg src=\"./_docs/xdebug-vscode.png\" alt=\"\"/\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffadilxcoder%2Fsf6-sqlite-mongodb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffadilxcoder%2Fsf6-sqlite-mongodb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffadilxcoder%2Fsf6-sqlite-mongodb/lists"}