tonypiper / php-symfony-starter

Starter project for Symfony – Works with any prismic.io repository

Home Page:https://developers.prismic.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Starter for Symfony PHP projects

This is a blank Symfony project that will connect to any prismic.io repository. It uses the prismic.io PHP developement kit, and provide a few helpers to integrate with the Symfony framework.

This is a starter project, you are encouraged to use it to bootstrap your own project, or as inspiration to understand how you can integrate the prismic.io developement kit with a Symfony project.

How to start?

Install the project into your Web server and edit the src/Prismic/PrismicStarterProjectBundle/Resources/config/services.yml file to make the application point to the correct repository:

parameters:
    prismic.api.endpoint:         "https://lesbonneschoses.prismic.io/api"
    prismic.api.accessToken:      null
    prismic.api.clientId:         null
    prismic.api.clientSecret:     null

Launch the application in your browser (the URL should be something like http://localhost/php-symfony2-starter/web/app_dev.php/).

Licence

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.

About

Starter project for Symfony – Works with any prismic.io repository

https://developers.prismic.io

License:MIT License