https://github.com/agility/agility-content-fetch-sdk-php
https://github.com/agility/agility-content-fetch-sdk-php
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/agility/agility-content-fetch-sdk-php
- Owner: agility
- Created: 2023-01-11T18:59:47.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-12T13:54:02.000Z (over 3 years ago)
- Last Synced: 2025-02-14T04:51:13.206Z (over 1 year ago)
- Language: PHP
- Size: 49.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
- 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
In order to use this sdk, you'll need to install the composer package and you'll also need to authenticate your requests.
### 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
Install it using **composer** (recommended):
```
composer require agility/fetch
```
## 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.