Laravel Logo

Laravel CMS

Powerful CMS. Zero headache.

Drop our API-based CMS into your Laravel app in minutes.

Try ButterCMS free

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

Above is quick video of integrating Butter's Pages API into an application.

Butter's API slides right into our apps and lets us avoid having yet another WordPress site.

Daniel, Founder of Collective Idea

Marketers love Butter

  • ButterCMS Feature Image SEO Landing Pages
  • ButterCMS Feature Image Customer Case Studies
  • ButterCMS Feature Image Company News & Updates
  • ButterCMS Feature Image Events + Webinar Pages
  • ButterCMS Feature Image Education Center
  • ButterCMS Feature Image Location Pages
  • ButterCMS Feature Image and more...

Butter saves you development time

Save thousands of dollars worth of development time with our easy setup.

Integrating Butter into our application took less than an hour and most of that time was spent on design work.

Luke Brean, Legally

Everything you need

  • ButterCMS Feature Image Custom Page Types
  • ButterCMS Feature Image Custom Content Modeling
  • ButterCMS Feature Image Preview changes
  • ButterCMS Feature Image Media library
  • ButterCMS Feature Image CDN for assets
  • ButterCMS Feature Image Testing environment
  • ButterCMS Feature Image Localization
  • ButterCMS Feature Image Webhooks

Beautiful admin interface

Easy to use. Easy to customize.

Integrates with Laravel

Our CMS has a simple content API and drop-in Laravel SDK.

Butter requires zero maintenance

Never worry about security upgrades, hosting, or performance.

Try ButterCMS in your Laravel app

Setup in minutes

Official Laravel Guide


Integrating Butter into your Laravel app is dead simple. Here's a mini tutorial to get a feel for adding marketing pages to your app. You can also use our Content Fields to do advanced content modeling. For full a integration guide check out our Official Laravel Guide

First you would set up a new Customer Case Study page type in Butter and create a page. With your page defined, the ButterCMS API will return it in JSON format like this:

{
    "data": {
        "slug": "acme-co",
        "fields": {
            "facebook_open_graph_title": "Acme Co loves ButterCMS",
            "seo_title": "Acme Co Customer Case Study",
            "headline": "Acme Co saved 200% on Anvil costs with ButterCMS",
            "testimonial": "<p>We've been able to make anvils faster than ever before! - <em>Chief Anvil Maker</em></p>\r\n<p><img src=\"https://cdn.buttercms.com/NiA3IIP3Ssurz5eNJ15a\" alt=\"\" caption=\"false\" width=\"249\" height=\"249\" /></p>",
            "customer_logo": "https://cdn.buttercms.com/c8oSTGcwQDC5I58km5WV",
        }
    }
}

To create these pages in our app, we create a dynamic route that fetches content for the page by using a URL parameter. Here's what the code looks like:

routes/web.php

Route::get('/customers/{slug}', 'CustomerController@showCustomer');

app/Http/Controllers/CustomerController.php

<?php

namespace App\Http\Controllers;

use Illuminate\Routing\Controller as BaseController;
use Illuminate\Support\Facades\Response as Response;
use ButterCMS\ButterCMS;

class CustomerController extends BaseController {

  private static $apiToken = 'your_api_token';
  private $client;

  public function __construct() {
    $this->client = new ButterCMS(CustomerController::$apiToken);
  }

  public function showCustomer(string $slug) {
    $page = $this->client->fetchPage('customer_case_study', $slug);
    return view('customer', [
      'seoTitle' => $page->getField('seo_title'),
      'facebookTitle' => $page->getField('facebook_open_graph_title'),
      'headline' => $page->getField('headline'),
      'customerLogo' => $page->getField('customer_logo'),
      'testimonial' => $page->getField('testimonial'),
    ]);
  }

}

resources/views/customer.blade.php

<html>
  <head>
    <title>{{$seoTitle}}</title>
    <meta property="og:title" content="{{$facebookTitle}}" /> 
  </head>
  <body>
    <h1>{{$headline}}</h1>
    <img width="100%" src="{{$customerLogo}}">
    <p>{{$testimonial}}</p>
  </body>
</html>
Try ButterCMS in your Laravel app

About ButterCMS

ButterCMS is an API-based, or "headless", CMS. We're a hosted service and we maintain all of the infrastructure. For more information on how we compare to a traditional CMS check out API-based CMS vs Traditional CMS.

How do you compare to Wordpress?

In short, we offer all the same easy-to-use editing capabilities of Wordpress but are significantly easier for developers to setup and maintain. This means you spend less time working on your CMS and more time focusing on things important to your business.

Do you host my templates?

Unlike CMS's you might be used to, we don't control or host any of your templates. The design of your app (HTML + CSS) lives in your application along side the rest of your app. Your application calls our Content API and we return your content in JSON format. You can then render this content in any way you'd like.

Can I import my content?

Yep. To import existing content from another platform, simply send us an email.

What kind of database can I use?


No database required! We're a SaaS CMS or CaaS. You simply call our Content API from your app. We host and maintain all of the CMS infrastructure.

Can I host this?


No, we're a SaaS CMS or CaaS. You simply call our Content API from your app. We host and maintain all of the CMS infrastructure.

I have other questions


We're happy to help.

Chat with us

About Laravel

Laravel is a dynamic, open source programming language with a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write.

Headless CMS for these technologies and more

Ruby, Rails, Node.js, Python, ASP.NET, Flask, Django, Go, PHP, Laravel, Angular, React, Elixir, Phoenix, Meteor, Vue.js, Heroku, Gatsby.js

Try Butter free for 30-days

Try ButterCMS in your Laravel app

Get started now

Sign up with Google Sign up with Github
or