prismicio-community / php-kit

Community maintained development kit for Prismic and the PHP language
https://prismic.io
Other
109 stars 83 forks source link

Release Preview? #46

Closed bondarewicz closed 10 years ago

bondarewicz commented 10 years ago

I've integrated the php-kit into my project. I'm able to pull the content from prismic, what I'm unable to figure it out is how can I get the preview working on my site like shown below:

image

Any advise ?

rudyrigot commented 10 years ago

Sure, are you using a framework, or are you using plain PHP?

If plain PHP, you should check out our PHP starter kit that has that working out of the box. More precisely:

Overall, I'd rather advise you to get the starter project that is ready to work out of the box, and insert your front-end code in it, like I did in this example. You will definitely save time.