PHPackages                             agility/fetch - 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. agility/fetch

ActiveLibrary

agility/fetch
=============

PHP SDK for the Agility CMS Fetch API

025PHP

Since Jan 12Pushed 3y ago2 watchersCompare

[ Source](https://github.com/agility/agility-content-fetch-sdk-php)[ Packagist](https://packagist.org/packages/agility/fetch)[ RSS](/packages/agility-fetch/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Agility Content Fetch PHP SDK
=============================

[](#agility-content-fetch-php-sdk)

This is the PHP library for accessing live and preview content from your [Agility CMS](https://agilitycms.com) instance.

Don't have an Agility CMS instance? Sign up for a [Free Trial](https://agilitycms.com/free) today!

Features
--------

[](#features)

- Queries the high-availability, CDN backed Agility Fetch REST API
- Get a sitemap for a given channel
- Get a page, including its content zones, modules, and their content
- Get a content item
- Query a content list using a filter syntax
- Get the details of a media gallery
- Keep track of syncing content to your app
- Optional in-memory caching

Getting Started
---------------

[](#getting-started)

In order to use this sdk, you'll need to install the composer package and you'll also need to authenticate your requests.

### Prerequisites

[](#prerequisites)

You must have access to an Agility instance to retrieve the *guid* and generate your *apiKey*. Or, you must have these values provided to you.

### Installation

[](#installation)

Install it using **composer** (recommended):

```
composer require agility/fetch

```

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

[](#contributing)

If you would like to contribute to this SDK, you can fork the repository and submit a pull request. We'd love to include your updates.

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity23

Early-stage or recently created project

 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/3f2fb7566eaba239e54c21f7df8f6d6b3981c336099a5ac1e29c3d30ec39ec53?d=identicon)[joelvarty](/maintainers/joelvarty)

---

Top Contributors

[![joelvarty](https://avatars.githubusercontent.com/u/4520625?v=4)](https://github.com/joelvarty "joelvarty (9 commits)")

### Embed Badge

![Health badge](/badges/agility-fetch/health.svg)

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

PHPackages © 2026

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