Skip to content

prismicio-community/php-quickstart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Quickstart project for Prismic

This is the PHP Quickstart project that will connect to any Prismic repository and display the quickstart page. It uses the Prismic PHP development kit, and provides a few helpers. It supports PHP version >= 7.1.

Getting started

Launch this project

Fork this repository, then clone your fork, and set up Apache so that the root of your website is the public_html directory.

If you haven't, install Composer, and run composer install, to retrieve and install the PHP Prismic kit and its dependencies.

Configure the starter project

Change the https://your-repo-name.prismic.io/api/v2 PRISMIC_URL in the config.php file to your repository's endpoint.

Launch the local server

Run the command ./serve.sh and then you can view the website at http://localhost:8000.

Go through the Quickstart tutorial

Learn how to get this project connected to Prismic by going through the Quickstart tutorial.

Learn more about Prismic

You can visit the docs to learn more about how to use Prismic.

Understand the PHP development kit

You'll find more information about how to use the development kit included in this starter project, by reading its README file.

License

This software is licensed under the Apache 2 license, quoted below.

Copyright 2018 Prismic (https://prismic.io).

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this project except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages