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 3w ago

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 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

2136d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/110755?v=4)[Morgan Estes](/maintainers/morganestes)[@morganestes](https://github.com/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

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[laravel/framework

The Laravel Framework.

34.8k543.8M19.9k](/packages/laravel-framework)[symfony/http-client

Provides powerful methods to fetch HTTP resources synchronously or asynchronously

2.0k338.8M4.9k](/packages/symfony-http-client)[zircote/swagger-php

Generate interactive documentation for your RESTful API using PHP attributes (preferred) or PHPDoc annotations

5.3k144.5M594](/packages/zircote-swagger-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k14](/packages/tempest-framework)[nelmio/api-doc-bundle

Generates documentation for your REST API from attributes

2.4k67.4M262](/packages/nelmio-api-doc-bundle)

PHPackages © 2026

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