Installation
Install the SDK with Composer. It depends on Guzzle, which Composer pulls in for you, so there is no standalone download.Requirements: PHP 8.0 or later.
Initialization
Initialize the SDK with your Read API token from the ButterCMS Settings.API methods
Pages
Retrieve and search pages created in the ButterCMS dashboard.Collections
Fetch content from Collections (structured data tables).Blog Posts
Access the built-in Blog Engine for posts, categories, tags, and authors.Authors
Categories
Tags
Feeds
Retrieve RSS, Atom, and Sitemap feeds.Query parameters reference
Complete example
Resources
GitHub Repository
View source code, report issues, and contribute
Packagist
Package details and version history