PHPackages                             salernolabs/rescuegroups - 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. [API Development](/categories/api)
4. /
5. salernolabs/rescuegroups

ActiveFramework[API Development](/categories/api)

salernolabs/rescuegroups
========================

An unofficial PHP rescuegroups.org HTTP API SDK.

v0.1.5(8y ago)0809↓100%MITPHP

Since Nov 28Pushed 8y ago1 watchersCompare

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

READMEChangelogDependencies (2)Versions (16)Used By (0)

salernolabs/rescuegroups
========================

[](#salernolabsrescuegroups)

[![Latest Stable Version](https://camo.githubusercontent.com/18e60c00e0c1970be1dc31bb872c3ed006d9b38f5c138a156b70154776761baa/68747470733a2f2f706f7365722e707567782e6f72672f73616c65726e6f6c6162732f72657363756567726f7570732f762f737461626c65)](https://packagist.org/packages/salernolabs/rescuegroups)[![License](https://camo.githubusercontent.com/23bd6c8f91c2060d0675fa80c80c2575451615dc7604d78228a04a9e80ec3621/68747470733a2f2f706f7365722e707567782e6f72672f73616c65726e6f6c6162732f72657363756567726f7570732f6c6963656e7365)](https://packagist.org/packages/salernolabs/rescuegroups)[![Build Status](https://camo.githubusercontent.com/0c9f0d72f26b6e92c14d7622a49ebd9ee610ed4ee7fca474ba486fb1c0d2e008/68747470733a2f2f7472617669732d63692e6f72672f73616c65726e6f6c6162732f72657363756567726f7570732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/salernolabs/rescuegroups)

An unofficial rescuegroups.org HTTP API PHP SDK. This package is not stable yet and still under development. Please note much of this is automatically generated via the Define queries. Due to naming conventions the "list" actions are encapsulated in "GetList" classes because "List" is a reserved word in PHP7.

Please read the RescueGroups.org API specification and documentation thoroughly before attempting to use this library.

[Query Documentation](doc/request/readme.md)

Installation and Setup
----------------------

[](#installation-and-setup)

The easiest way to install this package is with composer:

```
composer require salernolabs/rescuegroups

```

Afterwards you can either specify your API key in the constructor to the API class or the preferred method is to use the following environment variables:

For just using public queries:

- RESCUEGROUPS\_API\_KEY

For using queries that require a login you can also specify:

- RESCUEGROUPS\_USERNAME
- RESCUEGROUPS\_PASSWORD
- RESCUEGROUPS\_ORG\_ID

You can instantiate the API handler in either way:

```
//Use environment variables
$api = new \RescueGroups\API();

//Use specific api key
$api = new \RescueGroups\API("Your API Key")

```

Logging In
----------

[](#logging-in)

To make non-public/authenticated queries against the HTTP API you need to log in. You can either spoecify the environment variables or set them in the login query.

```
//Use environment variables
$login = new \RescueGroups\Request\Actions\Login();

//Use specific login credentials
$login = new \RescueGroups\Request\Actions\Login("Username", "Password", 1235);

//Then just run it with the API handler
$api->executeRequest($login);

```

Alternatively, if you already have a valid token and tokenHash from the Rescuegroups API, you can just call the -&gt;setToken() function on the API handler to skip the step.

```
$api->setToken('token', 'tokenHash');

```

Testing
-------

[](#testing)

You can run phpunit tests from the command line by just running phpunit but make sure you've set the API Key environment variable.

```
phpunit

```

If you don't have it installed on your computer, then you can just run it from the vendor folder if you've composer installed with dev dependencies.

```
#From the folder you have this project check out in
php vendor/phpunit/phpunit/phpunit

```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

11

Last Release

3086d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/155974?v=4)[Eric Salerno](/maintainers/ericsalerno)[@ericsalerno](https://github.com/ericsalerno)

---

Top Contributors

[![ericsalerno](https://avatars.githubusercontent.com/u/155974?v=4)](https://github.com/ericsalerno "ericsalerno (45 commits)")

---

Tags

petpetsphprescuegroupsrescuegroups-apiunofficial-rescuegroups

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/salernolabs-rescuegroups/health.svg)

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

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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