{"id":25035048,"url":"https://github.com/liinkiing/graphql-maker-bundle","last_synced_at":"2025-04-13T19:24:06.189Z","repository":{"id":57014997,"uuid":"175531500","full_name":"Liinkiing/graphql-maker-bundle","owner":"Liinkiing","description":"Bundle to easily create GraphQL types for Overblog GraphQLBundle","archived":false,"fork":false,"pushed_at":"2020-04-27T14:14:30.000Z","size":50,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-09-18T18:49:10.219Z","etag":null,"topics":["bundle","code-generation","generator","graphql","graphql-bundle","graphql-types","maker","scaffolding","symfony","symfony-bundle"],"latest_commit_sha":null,"homepage":null,"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/Liinkiing.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}},"created_at":"2019-03-14T02:10:50.000Z","updated_at":"2022-06-24T11:41:40.000Z","dependencies_parsed_at":"2022-08-22T09:31:38.036Z","dependency_job_id":null,"html_url":"https://github.com/Liinkiing/graphql-maker-bundle","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Liinkiing%2Fgraphql-maker-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Liinkiing%2Fgraphql-maker-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Liinkiing%2Fgraphql-maker-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Liinkiing%2Fgraphql-maker-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Liinkiing","download_url":"https://codeload.github.com/Liinkiing/graphql-maker-bundle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248766742,"owners_count":21158311,"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":["bundle","code-generation","generator","graphql","graphql-bundle","graphql-types","maker","scaffolding","symfony","symfony-bundle"],"created_at":"2025-02-05T23:44:36.507Z","updated_at":"2025-04-13T19:24:06.164Z","avatar_url":"https://github.com/Liinkiing.png","language":"PHP","readme":"# GraphQL Maker Bundle\nBundle to easily create GraphQL types for [Overblog GraphQL Bundle](https://github.com/overblog/GraphQLBundle) by using the new [Symfony Maker component](https://github.com/symfony/maker-bundle)\n\n## Installation\n\n```bash\n$ composer require liinkiing/graphql-maker-bundle\n```\n\nIf you use **Symfony flex**, it will be automatically register under the `bundles.php` file. \nOtherwise, register the bundle manually\n\n```php\n// AppKernel.php\nclass AppKernel extends Kernel\n{\n    public function registerBundles()\n    {\n        $bundles = [\n            // ...\n            new Liinkiing\\GraphQLMakerBundle\\GraphQLMakerBundle(),\n        ];\n\n        // ...\n    }\n}\n```\n\n## Configuration\nBy default, no configuration is needed. It uses **convention over configuration**, but if you wanna customize the behaviour,\nyou can add a config file `config/packages/dev/graphql_maker.yaml` :\n\n```yaml\ngraphql_maker:\n  root_namespace: App\\GraphQL # Customize the root namespace where PHP mutations and resolver will be\n  schemas: # You can also define, for any schemas if you use many, a custom out directory for types files\n    public:\n      out_dir: '%kernel.project_dir%/config/graphql/public/types'\n    internal:\n      out_dir: '%kernel.project_dir%/config/graphql/internal/types'\n    preview:\n      out_dir: '%kernel.project_dir%/config/graphql/preview/types'\n```\n\n## Usage\nCurrently, you can generate:\n- type\n- connection\n- query\n- mutation\n\n```bash\n$ bin/console make:graphql:type       [--schema]\n$ bin/console make:graphql:connection [--schema]\n$ bin/console make:graphql:query      [--schema]\n$ bin/console make:graphql:mutation   [--schema]\n$ bin/console make:graphql:resolver\n```\n\nThen, you will be asked some questions to generate what you asked, *à la Maker*\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliinkiing%2Fgraphql-maker-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliinkiing%2Fgraphql-maker-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliinkiing%2Fgraphql-maker-bundle/lists"}