2017 © Pedro Peláez
 

symfony-bundle prismic-bundle

Prismic.io integration with Symfony2

image

prismic/prismic-bundle

Prismic.io integration with Symfony2

  • Tuesday, May 22, 2018
  • by lsmith
  • Repository
  • 10 Watchers
  • 6 Stars
  • 20,406 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 10 Forks
  • 6 Open issues
  • 3 Versions
  • 2 % Grown

The README.md

PrismicBundle

:warning: UNMAINTAINED PROJECT :warning:

This project is now unmaintained and becomes more and more outdated comparing to the evolution of the Symfony framework. We invite you to read our PHP documentation and integrate yourself our PHP SDK in your Symfony project., (*1)

Info

This Bundle integrates the http://prismic.io php-kit with the Symfony Framework: https://github.com/prismicio/php-kit, (*2)

For an example use see: https://github.com/prismicio/php-symfony-starter, (*3)

Installation

Add the following dependencies to your projects composer.json file:, (*4)

"require": {
    # ..
    "prismic/prismic-bundle": "~1.0@dev"
    # ..
}

Configuration

Add the following configuration to your projects app/config/config.yml file:, (*5)

# Default configuration for extension with alias: "prismic"
prismic:
    api:
        endpoint:             ~ # Required
        access_token:         ~
        client_id:            ~
        client_secret:        ~

You can override the redirect route from the bundle configuration:, (*6)

# Default configuration for extension with alias: "prismic"
prismic:
    oauth:
        redirect_route:         home # Name of the route
        redirect_route_params:  []   # An array with additional route params

TODOs

  • [x] Add a listener for Symfony 2.3 to set the request data into the context as 2.3 does not support ExpressionLanguage
  • [ ] Add unit (and functional?) tests
  • [ ] Provide twig templates to render documents
  • [ ] Make caching configurable once https://github.com/prismicio/php-kit/issues/32 is implemented

Credits

Kudos to lsmith77 who did all the hard work!, (*7)

The Versions

22/05 2018

dev-master

9999999-dev http://www.prismic.io

Prismic.io integration with Symfony2

  Sources   Download

Apache 2 license

The Requires

 

symfony2 cms persistence prismic

25/04 2018

dev-unmaintained

dev-unmaintained http://www.prismic.io

Prismic.io integration with Symfony2

  Sources   Download

Apache 2 license

The Requires

 

symfony2 cms persistence prismic

27/09 2014

dev-latest-sdk

dev-latest-sdk http://www.prismic.io

Prismic.io integration with Symfony2

  Sources   Download

Apache 2 license

The Requires

 

symfony2 cms persistence prismic