Laravel CMS Learn how to use Cosmic JS to power content for your projects using tools you love.

Laravel CMS

Laravel CMS

Cosmic JS offers a powerful API-first CMS that integrates with Laravel and PHP. Laravel is a powerful PHP framework, designed for developers who need a simple and elegant toolkit to create full-featured web applications.  

Install the Official Cosmic JS PHP Client to start managing content for your Laravel application. Use Cosmic JS to quickly build content-powered blogs, dynamic pages, and more.  Get a feel for Cosmic JS by taking a spin through our apps and check out the tutorials below.


Laravel CMS Articles

The Cosmic Stack
Laravel Inventory Management App
Building an Inventory Management App Using Vue.js and Laravel
Alicomm Builds a Website Using Laravel, PHP and Cosmic JS

Laravel CMS Resources

Cosmic JS Docs
Official PHP Client
PHP Apps
Cosmic JS GitHub

Examples

Clone the PHP client:

git clone https://github.com/cosmicjs/cosmicjs-php

Then in your PHP file:

$config = new stdClass();
$config->bucket_slug = "astral";
include("cosmicjs.php");
$objects = $cosmicjs->getObjects();
var_dump($objects);
  Back to Knowledge Base