This is the PHP Quickstart project that will connect to any prismic.io repository and display the quickstart page. It uses the prismic.io PHP development kit, and provides a few helpers.
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.io kit and its dependencies.
Change the https://your-repo-name.prismic.io/api
PRISMIC_URL in the config.php
file to your repository's endpoint.
Learn how to get this project connected to prismic.io by going through the quickstart instructions.
You can visit the docs to learn more about how to use prismic.io.
You'll find more information about how to use the development kit included in this starter project, by reading its README file.
This software is licensed under the Apache 2 license, quoted below.
Copyright 2013 Zengularity (http://www.zengularity.com).
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.