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

ActiveLibrary[API Development](/categories/api)

waynestate/waynestate-api
=========================

An API wrapper for the Wayne State University v1 API

1.2.4(3y ago)042.2k↑155.6%MITPHPPHP &gt;=5.4

Since Jan 23Pushed 3y ago12 watchersCompare

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

READMEChangelogDependenciesVersions (11)Used By (0)

Wayne State University API wrapper v1
=====================================

[](#wayne-state-university-api-wrapper-v1)

PHP wrapper for the Wayne State University API

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

[](#installation)

To install this library, run the command below and you will get the latest version

```
composer require waynestate/waynestate-api

```

Usage
-----

[](#usage)

Create the object

```
# start.php

use Waynestate\Api\Connector;

...

$api = new Connector(API_KEY);

// Set the params
$params = array(
    'promo_group_id' => 123,
    'is_active' => '1',
    'ttl' => TTL,
);

// Get promotions from the API
$promos = $api->sendRequest('cms/promotions/listing', $params);

```

Setting a unique endpoint **before** the Connector is instantiated

```
define('API_ENDPOINT', 'http://api.domain.com/v1/');

```

Setting a unique endpoint **after** the Connector is instantiated

```
$api->cmsREST = 'http://api.domain.com/v1/';

```

Temporarily using the 'production' endpoint

```
# Use the production endpoint for only the next $api->sendRequest() call
$api->nextRequestProduction();

```

Best used with the following packages:

- [ParsePromos](https://github.com/waynestate/parse-promos)
- [ParseMenu](https://github.com/waynestate/parse-menu)

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

[](#contributing)

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Make your changes
4. Commit your changes (`git commit -am 'Added some feature'`)
5. Push to the branch (`git push origin my-new-feature`)
6. Create new Pull Request

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 73.5% 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 ~403 days

Recently: every ~503 days

Total

8

Last Release

1308d ago

PHP version history (2 changes)1.0.0PHP &gt;=5.3

1.2.0PHP &gt;=5.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/ee6b5aa170dcc656a78decb60be3034965518713f26fbe769b189686b5cbd38e?d=identicon)[nickdenardis](/maintainers/nickdenardis)

![](https://www.gravatar.com/avatar/8479005c4010d6614a6a61146f5fb27993c73be6c46353d096fc6276757da3e5?d=identicon)[chrispelzer](/maintainers/chrispelzer)

![](https://www.gravatar.com/avatar/d3e0d387e4c3e3ff7d8b8541e57612fe1b1b356ddfddf2ae6b29d810f4eb7be7?d=identicon)[anthonywayne](/maintainers/anthonywayne)

![](https://www.gravatar.com/avatar/7549a6b3a1b3e6a5d247e4bef4ede6a19fd51a12aae6fd7c1fe33e3aaef242d2?d=identicon)[kapseydev](/maintainers/kapseydev)

---

Top Contributors

[![nickdenardis](https://avatars.githubusercontent.com/u/37359?v=4)](https://github.com/nickdenardis "nickdenardis (25 commits)")[![chrispelzer](https://avatars.githubusercontent.com/u/636531?v=4)](https://github.com/chrispelzer "chrispelzer (7 commits)")[![robertvrabel](https://avatars.githubusercontent.com/u/634788?v=4)](https://github.com/robertvrabel "robertvrabel (2 commits)")

### Embed Badge

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

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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