PHPackages                             orgmanager/orgmanager-api - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. orgmanager/orgmanager-api

ActiveLibrary[HTTP &amp; Networking](/categories/http)

orgmanager/orgmanager-api
=========================

PHP Client for the OrgManager API

2.0(9y ago)5322[1 PRs](https://github.com/orgmanager/php-orgmanager-api/pulls)1MPL-2.0PHPPHP ^5.5|^7.0CI failing

Since Mar 6Pushed 6y agoCompare

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

READMEChangelogDependencies (2)Versions (6)Used By (1)

PHP OrgManager API Client
=========================

[](#php-orgmanager-api-client)

[![Codacy Badge](https://camo.githubusercontent.com/5b441252a305e7e69dafea1c9af9211d8e3674dc63173d0fed57241192fd8ba0/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f3139386331303566356534333466653238303662333961313764343538646333)](https://www.codacy.com/app/m1guelpiedrafita/php-orgmanager-api?utm_source=github.com&utm_medium=referral&utm_content=orgmanager/php-orgmanager-api&utm_campaign=badger)[![Latest Version on Packagist](https://camo.githubusercontent.com/b56d79003423356f284452bbf7f0c1e564b8fe3a632c9f5fe5c50a0688ca73ef/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6f72676d616e616765722f6f72676d616e616765722d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/orgmanager/orgmanager-api)[![Software License](https://camo.githubusercontent.com/2542c0dbae451acdbf05e7e504109fcf94bb04b96f69a342f3ad1d84adda8035/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6f72676d616e616765722f7068702d6f72676d616e616765722d6170692e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/636b47d61943918c66411dd6daa2d135b79e0c5be858cc0c447744b0c34a4ab3/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6f72676d616e616765722f7068702d6f72676d616e616765722d6170692f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/orgmanager/php-orgmanager-api)[![Total Downloads](https://camo.githubusercontent.com/54af7e9d2d311ec26eb979275798138d53a3d839bae9dc69892196cc09cf283f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6f72676d616e616765722f6f72676d616e616765722d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/orgmanager/orgmanager-api)

This package makes it easy to interact with [the OrgManager API](https://github.com/orgmanager/orgmanager#api).

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

[](#installation)

You can install the package via composer:

```
composer require orgmanager/orgmanager-api
```

Usage
-----

[](#usage)

You must pass a Guzzle client and the API token to the constructor of `OrgManager\ApiClient\OrgManager`.

```
$orgmanager = new \OrgManager\ApiClient\OrgManager('YOUR_ORGMANAGER_API_TOKEN');
```

or you can skip the token and use the `connect()` method later

```
$orgmanager = new \OrgManager\ApiClient\OrgManager();

$orgmanager->connect('YOUR_ORGMANAGER_API_TOKEN');
```

### Get User info

[](#get-user-info)

```
$orgmanager->getUser();
```

### Get User Orgs

[](#get-user-orgs)

```
$orgmanager->getOrgs();
```

### Get Org info

[](#get-org-info)

```
$orgmanager->getOrg('ORG_ID');
```

### Change Org Password

[](#change-org-password)

```
$orgmanager->changeOrgPassword('ORG_ID', 'NEW_PASSWORD');
```

### Update Org

[](#update-org)

```
$orgmanager->updateOrg('ORG_ID');
```

### Delete Org

[](#delete-org)

```
$orgmanager->deleteOrg('ORG_ID');
```

### Get Stats

[](#get-stats)

```
$orgmanager->getStats();
```

### Renenerate Token

[](#renenerate-token)

```
$orgmanager->regenerateToken($set);
```

where `$set` is false if you don't want to use the new token on future requests.

### Get the Guzzle Client

[](#get-the-guzzle-client)

```
$orgmanager->getClient();
```

### Set the Guzzle Client

[](#set-the-guzzle-client)

```
$client = new \GuzzleHttp\Client(); // Example Guzzle client
$orgmanager->setClient($client);
```

where $client is an instance of `\GuzzleHttp\Client`.

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Miguel Piedrafita](https://github.com/m1guelpf)
- [All Contributors](../../contributors)

License
-------

[](#license)

The Mozilla Public License 2.0 (MPL-2.0). Please see [License File](LICENSE.md) for more information.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 96.9% of commits — single point of failure

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 ~14 days

Total

4

Last Release

3312d ago

Major Versions

1.1 → 2.02017-04-20

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/23558090?v=4)[Miguel Piedrafita](/maintainers/m1guelpf)[@m1guelpf](https://github.com/m1guelpf)

---

Top Contributors

[![m1guelpf](https://avatars.githubusercontent.com/u/23558090?v=4)](https://github.com/m1guelpf "m1guelpf (62 commits)")[![codacy-badger](https://avatars.githubusercontent.com/u/23704769?v=4)](https://github.com/codacy-badger "codacy-badger (1 commits)")[![peter279k](https://avatars.githubusercontent.com/u/9021747?v=4)](https://github.com/peter279k "peter279k (1 commits)")

---

Tags

apiapi-clientclientguzzleorgmanagerorgmanager-apipackagistphpphp-clientm1guelpforgmanagerorgmanager-api

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/orgmanager-orgmanager-api/health.svg)

```
[![Health](https://phpackages.com/badges/orgmanager-orgmanager-api/health.svg)](https://phpackages.com/packages/orgmanager-orgmanager-api)
```

###  Alternatives

[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[omniphx/forrest

A Laravel library for Salesforce

2724.4M8](/packages/omniphx-forrest)[akamai-open/edgegrid-client

Implements the Akamai {OPEN} EdgeGrid Authentication specified by https://developer.akamai.com/introduction/Client\_Auth.html

482.5M6](/packages/akamai-open-edgegrid-client)[muhammadhuzaifa/telescope-guzzle-watcher

Telescope Guzzle Watcher provide a custom watcher for intercepting http requests made via guzzlehttp/guzzle php library. The package uses the on\_stats request option for extracting the request/response data. The watcher intercept and log the request into the Laravel Telescope HTTP Client Watcher.

98239.8k1](/packages/muhammadhuzaifa-telescope-guzzle-watcher)[ory/hydra-client-php

Documentation for all of Ory Hydra's APIs.

1710.8k](/packages/ory-hydra-client-php)[meteocontrol/vcom-api-client

HTTP Client for meteocontrol's VCOM API - The VCOM API enables you to directly access your data on the meteocontrol platform.

175.7k1](/packages/meteocontrol-vcom-api-client)

PHPackages © 2026

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