Laravel Logo

Laravel CMS API and blog engine

ButterCMS is an API-based CMS that integrates with Laravel. Use ButterCMS to rapidly build CMS-powered blogs, dynamic pages, and more.

Setup in minutes

Add the ButterCMS PHP library using Composer:

composer require buttercms/buttercms-php

Or download the latest release and include it manually:

require_once('/path/to/buttercms-php/src/ButterCMS.php');

Then test out some API calls in your application code:

use ButterCMS\ButterCMS;

$butterCms = new ButterCMS('api_token_b22ab734');

// Get homepage content
$butterCms->getContentFields(['homepage']);

// Get posts
$butterCms->getPosts();

A simple API for content

{
  "data": {
    "homepage_title": "Laravel",
    "homepage_headline": "The PHP Framework For Web Artisans"
  }
}

About Laravel

Laravel is a free, open-source PHP web framework, created by Taylor Otwell.

Get started now

Sign up with Google Sign up with Github
or