PHPackages                             preprio/php-graphql-sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. preprio/php-graphql-sdk

ActiveLibrary

preprio/php-graphql-sdk
=======================

Prepr PHP GraphQL SDK

1.0.0(2y ago)01.5k[1 PRs](https://github.com/preprio/php-graphql-sdk/pulls)MITPHPPHP &gt;=8.2CI passing

Since May 24Pushed 4mo ago2 watchersCompare

[ Source](https://github.com/preprio/php-graphql-sdk)[ Packagist](https://packagist.org/packages/preprio/php-graphql-sdk)[ RSS](/packages/preprio-php-graphql-sdk/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

PHP + Prepr SDK
===============

[](#php--prepr-sdk)

This package is an SDK for the GraphQL API.

Basics
------

[](#basics)

The SDK on [GitHub](https://github.com/preprio/php-sdk)

Minimal PHP version: `^8.2`

Requires `GuzzleHttp ^7.7.0`

For Laravel projects we recommend using the Laravel providers for [REST](https://github.com/preprio/laravel-rest-sdk) or [GraphQL](https://github.com/preprio/laravel-graphql-sdk).

Installation
------------

[](#installation)

You can install the SDK as a composer package.

```
composer require preprio/php-graphql-sdk
```

Making your first request
-------------------------

[](#making-your-first-request)

Let's start with getting some content items from your Prepr environment.

```
