Learn how to use Cosmic JS to power content for
your projects using tools you love.
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
Laravel CMS Resources
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);