Build Websites with prismic.io
prismic.io enables you to build websites with Content Management in Node.js, PHP, Ruby or any other technology. Simply define, edit and publish your content in a prismic.io Content Repository, use the SDK to query and fetch content from our API, and integrate it into your website templates.
Create a content repository
A content repository is where you define, edit and publish content.
Download the development kit
The SDK allows you to query and fetch content from your content repository and integrate it into your template. It's the easiest way to get started with a new project. Integration with an existing project or a different framework than the one used in the SDK is detailed at the bottom of this page.
Configure and run your project
Unzip the downloaded file in a new location for your project.
Replace the repository url in your prismic configuration file with your-repo-name.prismic.io
"api" => "https://your-repo-name.prismic.io/api",
<!-- in the filter definition, in web.xml --> <init-param> <param-name>endpoint</param-name> <param-value>https://your-repo-name.prismic.io/api</param-value> <!-- param-name>accessToken</param-name> <param-value>xxxx</param-value --> </init-param>
Point your terminal to your project location and run!
npm install npm install -g nodemon nodemon
composer install ./serve.sh
And your prismic.io journey begins!
Now you're all set to start building your website with prismic.io content management.
To do next: define Custom Types for your pages, posts, events, etc. Query and integrate these into your project's templates!
Working with existing projects
If you already have a website you want to integrate prismic.io to, want to use a different framework than proposed in the SDK or simply prefer to use your own tools to bootstrap the project, you can simply add the library as a dependency.
npm install prismic.io --save
composer require prismic/php-sdk
<!-- Check Maven Central to make sure you're using the latest version --> <dependency> <groupId>io.prismic</groupId> <artifactId>java-kit</artifactId> <version>1.5.0</version> </dependency>