PHPackages                             preprio/php-rest-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-rest-sdk

ActiveLibrary

preprio/php-rest-sdk
====================

Prepr PHP SDK

v5.0.1(2y ago)045.0k—1.2%[1 issues](https://github.com/preprio/php-rest-sdk/issues)[1 PRs](https://github.com/preprio/php-rest-sdk/pulls)MITPHPPHP &gt;=8.2CI passing

Since Feb 23Pushed 4mo ago4 watchersCompare

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

READMEChangelog (5)Dependencies (1)Versions (15)Used By (0)

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

[](#php--prepr-sdk)

This package is an SDK for the REST API.

Basics
------

[](#basics)

The SDK on [GitHub](https://github.com/preprio/php-rest-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-rest-sdk
```

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

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

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

```
