PHPackages                             monscierge/php-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. monscierge/php-sdk

AbandonedArchivedLibrary

monscierge/php-sdk
==================

Monscierge API bindings for PHP.

v0.1.1(10y ago)129MITPHPPHP &gt;=5.5

Since Nov 25Pushed 10y ago9 watchersCompare

[ Source](https://github.com/monscierge/php-sdk)[ Packagist](https://packagist.org/packages/monscierge/php-sdk)[ Docs](http://github.com/monscierge/php-sdk)[ RSS](/packages/monscierge-php-sdk/feed)WikiDiscussions master Synced 2mo ago

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

Monscierge PHP SDK
==================

[](#monscierge-php-sdk)

A PHP wrapper for the Monscierge API. [Create an application](http://developer.monscierge.com) to get your client credentials in order to authenticate into the API.

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

[](#installation)

Simply add the following to your composer.json require block:

```
'monscierge/php-sdk'

```

Examples
--------

[](#examples)

### Authentication

[](#authentication)

All API methods require you be authenticated with a client that is registered with Monscierge. You will then use these credentials to instantiate your client instance.

```
$client = new \Monscierge\Client($client_id, $client_secret);
```

#### Client Authenticated Requests

[](#client-authenticated-requests)

You can exchange your client credentials for an OAuth token to use for any non-user authenticated APIs.

```
$oauth_token = $client->clientCredentialsExchange('uber4cats', 'nom0res3crets');
```

#### User Authenticated Requests

[](#user-authenticated-requests)

For methods that require user permission to alter context, you will need to either use OAuth flow and redirect the user to the authorization URL which will upon granting permission with the scopes requested allow access as the user.

```
$authorize_url = $client->authorizeUrl('http://example.app/monscierge/callback');
```

Alternatively, you can ask the user for their login credentials to be exchanged for an OAuth token, but this is generally not recommended.

```
$oauth_token = $client->basicCredentialsExchange('johnny.appleseed@monscierge.com', '123456');
```

#### Using OAuth tokens

[](#using-oauth-tokens)

Once you have an OAuth token, to then make API calls you should set the access token on the client instance.

```
$client->setAccessToken($oauth_token['access_token']);
```

You will also want to store the `refresh_token` in order to prevent sessions from timing out for your users of your application. When a token expires, you can exchange it for a new OAuth token to continue making API calls.

```
$client->refreshTokenExchange($oauth_token['refresh_token']);
```

#### Search places

[](#search-places)

```
$client->places('San Francisco');
```

#### Get list of requests for a user

[](#get-list-of-requests-for-a-user)

```
$client->userRequests();
```

For more examples, dive into the SDK clients and look at the methods signatures. If you have any questions or feedback [create an issue](https://github.com/monscierge/php-sdk/issues) or send us an [email](mailto:developers@monscierge.com).

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

3823d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6ef3f482b59b3cb250063249fff1cd3fd23dc555d09d79e9006daa24a53beea4?d=identicon)[monscierge](/maintainers/monscierge)

---

Tags

hotelshospitalitymonsciergemonscierge api

### Embed Badge

![Health badge](/badges/monscierge-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/monscierge-php-sdk/health.svg)](https://phpackages.com/packages/monscierge-php-sdk)
```

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k21](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
