PHPackages                             bigwing/pet-and-go-wp - 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. bigwing/pet-and-go-wp

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

bigwing/pet-and-go-wp
=====================

PHP library for interacting with the Pet and Go HTTP API inside of WordPress.

1.2.0(5y ago)0111MITPHPPHP &gt;=7.2

Since Aug 25Pushed 5y agoCompare

[ Source](https://github.com/bigwing/pet-and-go-wp)[ Packagist](https://packagist.org/packages/bigwing/pet-and-go-wp)[ Docs](https://github.com/bigwing/pet-and-go-wp)[ RSS](/packages/bigwing-pet-and-go-wp/feed)WikiDiscussions master Synced yesterday

READMEChangelog (3)Dependencies (7)Versions (4)Used By (0)

PetAndGo WP
===========

[](#petandgo-wp)

PHP library for interacting with the PetAndGo.com API within a WordPress site.

[![PDS Skeleton](https://camo.githubusercontent.com/50d01a5094afcc3a827c3cadaec43d23b2a256cb249f5fdd6e5ffdb53ea7971c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7064732d736b656c65746f6e2d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/php-pds/skeleton)[![GitHub license](https://camo.githubusercontent.com/18f92fce217188e9591be9b83bca415161baf156a0a19cdc7575f948f9c4f8a5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f62696777696e672f7065742d616e642d676f2d7770)](https://github.com/bigwing/pet-and-go-wp/blob/master/LICENSE)

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

[](#installation)

Install using Composer `composer require bigwing/pet-and-go-wp` and use the Composer autoloader.

Configuration
-------------

[](#configuration)

The only required setting is your PetAndGo API key (`authkey`), which must be passed to the class on instantiation. Common ways to do this:

- In `wp-config.php`, set a constant with `define( 'PET_AND_GO_AUTHKEY', 'your_auth_key' );`.
- Use dotEnv to set the key.
- Create a WP settings page and store the key there.

Usage
-----

[](#usage)

You can use this inside a theme or plugin, but this package DOES NOT dictate front-end output.

- Use the Composer autoloader to ensure the files are loaded.
- Instantiate the class with `new PetAndGo\PetAndGo( PET_AND_GO_AUTHKEY );`.

Note: You may choose to assign it to a variable if you're going to use it right away, but you can also create the class in your main `functions.php` file and use `PetAndGo::get_instance();` in any templates to get the main instance.

### Getting pets list:

[](#getting-pets-list)

You can pass a species name to `get_adoptable_pets()` for a specific pet type. Currently, only "cat", "dog", or "all" are supported.

```
$pet_search = BigWing\PetAndGo\PetAndGo::get_instance();
$pets = $pet_search->get_adoptable_pets( 'dog' );
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 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

3

Last Release

2085d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/33bd74ddb8fa9500d34b6b55ee433d8868d614564d6267066a9fa18867b77573?d=identicon)[morganestes](/maintainers/morganestes)

---

Top Contributors

[![morganestes](https://avatars.githubusercontent.com/u/110755?v=4)](https://github.com/morganestes "morganestes (16 commits)")

---

Tags

api-clientphp-librarywordpresshttpapiwordpresspetandgo

###  Code Quality

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/bigwing-pet-and-go-wp/health.svg)

```
[![Health](https://phpackages.com/badges/bigwing-pet-and-go-wp/health.svg)](https://phpackages.com/packages/bigwing-pet-and-go-wp)
```

###  Alternatives

[nategood/httpful

A Readable, Chainable, REST friendly, PHP HTTP Client

1.8k17.2M267](/packages/nategood-httpful)[api-platform/metadata

API Resource-oriented metadata attributes and factories

223.5M96](/packages/api-platform-metadata)[aphiria/aphiria

The Aphiria framework

1427.7k2](/packages/aphiria-aphiria)[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28137.8k](/packages/phpro-http-tools)[voku/httpful

A Readable, Chainable, REST friendly, PHP HTTP Client

16183.9k1](/packages/voku-httpful)[quickbooks/payments-sdk

The Official PHP SDK for QuickBooks Online Payments API

2758.2k2](/packages/quickbooks-payments-sdk)

PHPackages © 2026

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