PHPackages                             su-sws/cap-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. su-sws/cap-api

AbandonedArchivedLibrary[API Development](/categories/api)

su-sws/cap-api
==============

CAP API PHP Library

011PHP

Since Nov 2Pushed 8y ago3 watchersCompare

[ Source](https://github.com/SU-SWS/cap-api)[ Packagist](https://packagist.org/packages/su-sws/cap-api)[ RSS](/packages/su-sws-cap-api/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

CAP API Library
===============

[](#cap-api-library)

#### Version 0.0.0

[](#version-000)

This API library is responsible for the communication between your PHP project and the API on cap.stanford.edu

What is CAP?
------------

[](#what-is-cap)

CAP Network is a virtual workspace, originally created by the School of Medicine, to support collaboration among faculty, graduate students, postdocs and staff. In 2013, it was expanded in partnership with various Schools, Institutes, and administrative offices to create the Stanford Profiles website.

Combining a profile directory with a social networking backend, CAP makes it easy for you to work closely with colleagues and track the projects that matter most to you—all in a private, secure environment

- [profiles.stanford.edu](https://profiles.stanford.edu)
- [cap.stanford.edu](https://cap.stanford.edu/)

Authentication
--------------

[](#authentication)

Before you get started you will need to have authentication credentials. To get authentication credentials, [file a HelpSU request](https://helpsu.stanford.edu/helpsu/3.0/auth/helpsu-form?pcat=CAPAPI&dtemplate=CAP-OAuth-Info) to Administrative Applications/CAP Stanford Profiles.

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

[](#configuration)

For detailed documentation on the configuration and usage of this module, please see the [Docs section](./docs/).

Developer
---------

[](#developer)

[GitHub](https://github.com/SUSWS/stanford_capx) page. Collaboration and bug reports are welcome. Please file bug reports on the github issues page. You are also welcome to suggest new functionality in the way of a pull request.

### Security

[](#security)

#### HTTPS

[](#https)

cap-api uses https for all API calls. Please follow this best practice as you develop with this module.

#### httpoxy mitigation:

[](#httpoxy-mitigation)

In July 2016, the httpoxy security exploit was announced for PHP, including libraries such as Guzzle. cap-api installs were by default protected because of https usage (see above). In addition, **developers are encouraged to seek their own httpoxy mitigation steps at the server level**. Check with your hosting provider to ensure that your implementation is protected from httpoxy. See  for details.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/680d4f5083667895b9323d1f792118734589007acc782a6e60e63d95f87d6081?d=identicon)[stanfordwebservices](/maintainers/stanfordwebservices)

---

Top Contributors

[![sherakama](https://avatars.githubusercontent.com/u/550602?v=4)](https://github.com/sherakama "sherakama (13 commits)")

---

Tags

capobsolete-not-in-usepackagistphp

### Embed Badge

![Health badge](/badges/su-sws-cap-api/health.svg)

```
[![Health](https://phpackages.com/badges/su-sws-cap-api/health.svg)](https://phpackages.com/packages/su-sws-cap-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)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

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

PHP wrapper for the Meilisearch API

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

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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