{"id":13499291,"url":"https://github.com/nuwave/laravel-graphql-relay","last_synced_at":"2025-03-29T04:31:02.532Z","repository":{"id":57029450,"uuid":"46281174","full_name":"nuwave/laravel-graphql-relay","owner":"nuwave","description":"This project is deprecated in favor of https://github.com/nuwave/lighthouse","archived":true,"fork":false,"pushed_at":"2020-03-29T10:22:42.000Z","size":125,"stargazers_count":44,"open_issues_count":0,"forks_count":12,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-02-16T14:49:14.065Z","etag":null,"topics":[],"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/nuwave.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":"2015-11-16T14:51:41.000Z","updated_at":"2023-08-15T16:40:43.000Z","dependencies_parsed_at":"2022-08-23T18:50:22.200Z","dependency_job_id":null,"html_url":"https://github.com/nuwave/laravel-graphql-relay","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuwave%2Flaravel-graphql-relay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuwave%2Flaravel-graphql-relay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuwave%2Flaravel-graphql-relay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuwave%2Flaravel-graphql-relay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nuwave","download_url":"https://codeload.github.com/nuwave/laravel-graphql-relay/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246140565,"owners_count":20729797,"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":[],"created_at":"2024-07-31T22:00:31.924Z","updated_at":"2025-03-29T04:31:02.250Z","avatar_url":"https://github.com/nuwave.png","language":"PHP","funding_links":[],"categories":["Libraries"],"sub_categories":["PHP Libraries"],"readme":"# This project is deprecated in favor of https://github.com/nuwave/lighthouse\n\n# laravel-grapql-relay\n\nUse Facebook [GraphQL](http://facebook.github.io/graphql/) with [React Relay](https://facebook.github.io/relay/). This package extends graphql-php to work with Laravel and is currently **a work in progress**. You can reference what specifications GraphQL needs to provide to work with Relay in the [documentation](https://facebook.github.io/relay/docs/graphql-relay-specification.html#content).\n\nAlthough this package no longer depends on [laraval-graphql](https://github.com/Folkloreatelier/laravel-graphql), it laid the foundation for this package which likely wouldn't exist without it. It is also a great alternative if you are using GraphQL w/o support for Relay.\n\nBecause this package is still in the early stages, breaking changes will occur. We will keep the documentation updated with the current release. Please feel free to contribute, PR are absolutely welcome!\n\n### Installation ###\n\nYou must then modify your composer.json file and run composer update to include the latest version of the package in your project.\n\n```php\n\"require\": {\n    \"nuwave/laravel-graphql-relay\": \"0.3.*\"\n}\n```\n\nOr you can use the composer require command from your terminal.\n\n```bash\ncomposer require nuwave/laravel-graphql-relay\n```\n\nAdd the service provider to your ```config/app.php``` file\n\n```php\nNuwave\\Relay\\LaravelServiceProvider::class\n```\n\nAdd the Relay \u0026 GraphQL facade to your app/config.php file\n\n```php\n'GraphQL' =\u003e Nuwave\\Relay\\Facades\\GraphQL::class,\n'Relay' =\u003e Nuwave\\Relay\\Facades\\Relay::class,\n```\n\nPublish the configuration file\n\n```bash\nphp artisan vendor:publish --provider=\"Nuwave\\Relay\\LaravelServiceProvider\"\n```\n\nCreate a ```schema.php``` file and add the path to the config.  See the [Schema](https://github.com/nuwave/laravel-graphql-relay/wiki/3.-Schema#schema-file) wiki page for more information on `schema.php`.\n\n```php\n// config/relay.php\n// ...\n'schema' =\u003e [\n    'path'      =\u003e 'Http/schema.php',\n    'output'    =\u003e null,\n],\n```\n\nTo generate a ```schema.json``` file (used with the Babel Relay Plugin):\n\n```bash\nphp artisan relay:schema\n```\n\n*You can customize the output path in the ```relay.php``` config file under ```schema.output```*\n\nFor additional documentation, look through the docs folder or read the Wiki.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuwave%2Flaravel-graphql-relay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnuwave%2Flaravel-graphql-relay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuwave%2Flaravel-graphql-relay/lists"}