2017 © Pedro Peláez
 

symfony-bundle simple-content

The simple Content Package

image

rofil/simple-content

The simple Content Package

  • Thursday, September 17, 2015
  • by rhsitorus
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Simple Content

This for website with simple content, (*1)

Installation

Add "rofil/simple-content": "dev-master" into composer.json as follows, (*2)

...
    "requires": {
        ...
        "rofil/simple-content": "dev-master"
        ...
    }
...

and update by running composer update, (*3)

Register

Register the bundle in app/AppKernel.php as follow:, (*4)

...
    new Rofil\Simple\ContentBundle\RofilSimpleContentBundle(),
...

Routing

Update routing.yml|xml by addin following code:, (*5)

...
rofil_simple_content:
    resource: "@RofilSimpleContentBundle/Controller/"
    type:     annotation
    prefix:   /
...

Update Database schema

Update database schema by running symfony command php app/console doctrine:schema:update --force, (*6)

Security

Adding access control in security.yml as follows:, (*7)

...
    access_control:
        ...
        - { path: ^/manage/information, roles: ROLE_MANAGER }
        - { path: ^/manage/news, roles: ROLE_MANAGER }
        ...
...

The Versions

17/09 2015

dev-master

9999999-dev

The simple Content Package

  Sources   Download

MIT

by Rofilde Hasudungan Sitorus Pane

bundle symfony theme