Contentstack

View as Markdown

Contentstack

Contentstack abstract class to provide access to Stack Object

Stack

Static method for the Stack constructor

NameTypeDescription
api_key (required)string

API Key of your stack on Contentstack.

access_token (required)string

Delivery token of your stack on Contentstack.

environment (required)string

Environment from where you want to fetch content.

configarray
use Contentstack\Contentstack;


$stack = Contentstack::Stack('api_key', 'delivery_token', 'environment');