{"id":19218718,"url":"https://github.com/fadilxcoder/sf6-proto","last_synced_at":"2025-07-15T12:34:35.302Z","repository":{"id":169454137,"uuid":"640222952","full_name":"fadilxcoder/sf6-proto","owner":"fadilxcoder","description":"Symfony 6 - Apache2 In-Built","archived":false,"fork":false,"pushed_at":"2023-08-09T17:11:54.000Z","size":9044,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-23T09:14:46.301Z","etag":null,"topics":["face-recognition","graphql-server","ocr-recognition","symfony"],"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-05-13T11:38:01.000Z","updated_at":"2023-05-20T07:42:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"ba0253bf-271b-4ae6-afcd-6e0917b3a47c","html_url":"https://github.com/fadilxcoder/sf6-proto","commit_stats":null,"previous_names":["fadilxcoder/sf6-proto"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fadilxcoder/sf6-proto","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fadilxcoder%2Fsf6-proto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fadilxcoder%2Fsf6-proto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fadilxcoder%2Fsf6-proto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fadilxcoder%2Fsf6-proto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fadilxcoder","download_url":"https://codeload.github.com/fadilxcoder/sf6-proto/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fadilxcoder%2Fsf6-proto/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265436723,"owners_count":23765015,"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":["face-recognition","graphql-server","ocr-recognition","symfony"],"created_at":"2024-11-09T14:27:52.499Z","updated_at":"2025-07-15T12:34:35.251Z","avatar_url":"https://github.com/fadilxcoder.png","language":"PHP","readme":"# Notes\n\n- Comparing 2 images to check matching (https://github.com/fadilxcoder/face-recognition.git)\n\n```bash\nλ php bin/console app:image:recognition\n\n\n [OK] {\"faces\": 1, \"match\": true, \"coordinates\": [662, 118, 439, 341]}\n\n```\n\n- OCR - Reading text from image (https://github.com/fadilxcoder/ocr-image-to-text.git)\n\n```bash\nλ php bin/console app:image:text\n\n ! [NOTE] JAMES SMITH\n !        SALES MANAGER\n !\n !        \u0026 123123 123\n !\n !        = jamessmith@spc.com\n !\n !        yww.spc.com\n\n ! [NOTE] n\u003c2\u003e9-| Uxbridge\n !        University\n !        London\n !\n !        | STUDENT CARD\n !        | Expires 05/09/2023\n !\n !        |IDNumber 2001827384\n !\n !        Christopher Jones DOB: 10/09/1995\n !        BA Honours Business Management\n\n ! [NOTE] Lorem Ipsum is simply dummy text\n !\n !        Why do we use it?\n\n\n [OK] OCR successfully terminated.\n\n```\n\n## GraphQL\n\n- `php bin/console doctrine:database:create`\n- `symfony console doctrine:schema:update --force`\n- `php bin/console doctrine:fixtures:load`\n- GraphQL query UI : http://sf6.inbuilt.app.local/graphiql\n\n### Notes\n\n- **Develop a GraphQL-Powered API With Symfony**  - https://www.twilio.com/blog/develop-graphql-powered-api-with-symfony\n- Source code : https://github.com/yemiwebby/twilio-graphql-demo\n- PDF : \u003ca href=\"./_docs/graphql.pdf\" target=\"_blank\"\u003eBuild GraphQL API\u003c/a\u003e\n- Truncate table with FK\n\n```sql\nSET FOREIGN_KEY_CHECKS = 0; \nTRUNCATE table author;\nSET FOREIGN_KEY_CHECKS = 1;\n```\n\n```bash\n$ php bin/console debug:router\n ------------------------------------------ -------- -------- ------ -----------------------------------\n  Name                                       Method   Scheme   Host   Path\n ------------------------------------------ -------- -------- ------ -----------------------------------\n  overblog_graphiql_endpoint                 ANY      ANY      ANY    /graphiql\n  overblog_graphiql_endpoint_multiple        ANY      ANY      ANY    /graphiql/{schemaName}\n  _preview_error                             ANY      ANY      ANY    /_error/{code}.{_format}\n  overblog_graphql_endpoint                  ANY      ANY      ANY    /api/\n  overblog_graphql_batch_endpoint            ANY      ANY      ANY    /api/batch\n  overblog_graphql_multiple_endpoint         ANY      ANY      ANY    /api/graphql/{schemaName}\n  overblog_graphql_batch_multiple_endpoint   ANY      ANY      ANY    /api/graphql/{schemaName}/batch\n  _wdt                                       ANY      ANY      ANY    /_wdt/{token}\n  _profiler_home                             ANY      ANY      ANY    /_profiler/\n  _profiler_search                           ANY      ANY      ANY    /_profiler/search\n  _profiler_search_bar                       ANY      ANY      ANY    /_profiler/search_bar\n  _profiler_phpinfo                          ANY      ANY      ANY    /_profiler/phpinfo\n  _profiler_xdebug                           ANY      ANY      ANY    /_profiler/xdebug\n  _profiler_search_results                   ANY      ANY      ANY    /_profiler/{token}/search/results\n  _profiler_open_file                        ANY      ANY      ANY    /_profiler/open\n  _profiler                                  ANY      ANY      ANY    /_profiler/{token}\n  _profiler_router                           ANY      ANY      ANY    /_profiler/{token}/router\n  _profiler_exception                        ANY      ANY      ANY    /_profiler/{token}/exception\n  _profiler_exception_css                    ANY      ANY      ANY    /_profiler/{token}/exception.css\n  app                                        ANY      ANY      ANY    /\n ------------------------------------------ -------- -------- ------ -----------------------------------\n\n```\n\n## Test\n\n```bash\n$  newman run ./_docs/SF6\\ GraphQL.postman_collection.json \nnewman\n\nSF6 GraphQL\n\n→ q. GetAllBooks\n  GET http://sf6.inbuilt.app.local/api/ [200 OK, 9.06kB, 9.8s]\n\n→ q. GetAllAuthors\n  GET http://sf6.inbuilt.app.local/api/ [200 OK, 11.76kB, 5.3s]\n\n→ q. GetSingleAuthorById\n  GET http://sf6.inbuilt.app.local/api/ [200 OK, 3.18kB, 5.2s]\n\n→ q. SearchBooksByAuthorName\n  GET http://sf6.inbuilt.app.local/api/ [200 OK, 741B, 5.2s]\n\n→ m. CreateAuthor\n  POST http://sf6.inbuilt.app.local/api/ [200 OK, 533B, 5.4s]\n\n→ m. UpdateBook\n  POST http://sf6.inbuilt.app.local/api/ [200 OK, 565B, 5.8s]\n\n┌─────────────────────────┬────────────────────┬───────────────────┐\n│                         │           executed │            failed │\n├─────────────────────────┼────────────────────┼───────────────────┤\n│              iterations │                  1 │                 0 │\n├─────────────────────────┼────────────────────┼───────────────────┤\n│                requests │                  6 │                 0 │\n├─────────────────────────┼────────────────────┼───────────────────┤\n│            test-scripts │                  0 │                 0 │\n├─────────────────────────┼────────────────────┼───────────────────┤\n│      prerequest-scripts │                  0 │                 0 │\n├─────────────────────────┼────────────────────┼───────────────────┤\n│              assertions │                  0 │                 0 │\n├─────────────────────────┴────────────────────┴───────────────────┤\n│ total run duration: 37.3s                                        │\n├──────────────────────────────────────────────────────────────────┤\n│ total data received: 23.43kB (approx)                            │\n├──────────────────────────────────────────────────────────────────┤\n│ average response time: 6.1s [min: 5.2s, max: 9.8s, s.d.: 1661ms] │\n└──────────────────────────────────────────────────────────────────┘\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffadilxcoder%2Fsf6-proto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffadilxcoder%2Fsf6-proto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffadilxcoder%2Fsf6-proto/lists"}