2017 © Pedro Peláez
 

symfony-bundle fanferret

Fanferret Digitial Comments. Creates and impliments surveys.

image

sturple/fanferret

Fanferret Digitial Comments. Creates and impliments surveys.

  • Thursday, February 2, 2017
  • by sturple
  • Repository
  • 1 Watchers
  • 0 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 11 Versions
  • 0 % Grown

The README.md

FanFerret Question Bundle

Installation

** Install With Composer **, (*1)

Note fos urser bundle requires symfony to be 3.1. https://symfony.com/doc/master/bundles/FOSUserBundle/index.html, (*2)

{
   "require": {
        "sturpe/fanferret": "~0.0",
        "friendsofsymfony/user-bundle": "~2.0@dev",
   }
}

and then execute, (*3)

$ composer update

or, (*4)

composer require sturple/fanferret:~0.0
composer require friendsofsymfony/user-bundle "~2.0@dev"

Configuration

Add to app/AppKernal.php file, (*5)


class AppKernel extends Kernel { public function registerBundles() { $bundles = [ ... new \FanFerret\QuestionBundle\FanFerretQuestionBundle(), new \Fos\UserBundle\FOSUserBundle(), ] } }

Config

app/config/config.yml, (*6)

fos_user:
    db_driver: orm
    firewall_name: main
    user_class: FanFerret\QuestionBundle\Entity\User

Routing

app/config/routing.yml, (*7)

fanferret:
    resource: "@FanFerretQuestionBundle/Resources/config/routing.yml"
    prefix: '/survey/'

Security

**app/config/security.yml, (*8)


security: providers: fos_userbundle: id: fos_user.user_provider.username encoders: FOS\UserBundle\Model\UserInterface: bcrypt firewalls: dev: pattern: ^/(_(profiler|wdt)|css|images|js)/ security: false main: anonymous: true pattern: form_login: login_path: /login provider: fos_userbundle csrf_token_generator: security.csrf.token_manager form_login: login_path: /login logout: true role_hierarchy: ROLE_ADMIN: ROLE_USER access_control: - { path: ^/login$, role: IS_AUTHENTICATED_ANONYMOUSLY } - { path: ^/register, role: IS_AUTHENTICATED_ANONYMOUSLY } - { path: ^/resetting, role: IS_AUTHENTICATED_ANONYMOUSLY } - { path: ^/admin, role: ROLE_USER }

Question Types

  • checklist -
  • rating -
  • polar -

Survey Creation

survey-{name}.yml

see sample-survey.yml, (*9)

The Versions

02/02 2017

dev-master

9999999-dev https://github.com/sturple/fanferret

Fanferret Digitial Comments. Creates and impliments surveys.

  Sources   Download

MIT

The Requires

 

symfony hotel survey

02/02 2017

0.0.6

0.0.6.0 https://github.com/sturple/fanferret

Fanferret Digitial Comments. Creates and impliments surveys.

  Sources   Download

MIT

The Requires

 

symfony hotel survey

02/02 2017

0.0.5

0.0.5.0 https://github.com/sturple/fanferret

Fanferret Digitial Comments Bundle

  Sources   Download

MIT

The Requires

 

symfony hotel survey

28/12 2016

0.0.4

0.0.4.0 https://github.com/sturple/fanferret

Fanferret Digitial Comments Bundle

  Sources   Download

MIT

The Requires

 

symfony hotel survey

17/12 2016

0.0.3

0.0.3.0 https://github.com/sturple/fanferret

Fanferret Digitial Comments Bundle

  Sources   Download

MIT

The Requires

 

symfony hotel survey

16/12 2016

0.0.2

0.0.2.0 https://github.com/sturple/fanferret

Fanferret Digitial Comments Bundle

  Sources   Download

MIT

The Requires

 

symfony hotel survey

16/12 2016

0.0.1

0.0.1.0 https://github.com/sturple/fanferret

Fanferret Digitial Comments Bundle

  Sources   Download

MIT

The Requires

 

symfony hotel survey

02/11 2016

dev-feature_adding_grunt

dev-feature_adding_grunt https://github.com/sturple/fanferret-questionbundle

Question Bundle

  Sources   Download

MIT

The Requires

 

symfony hotel survey

01/11 2016

dev-rleahy

dev-rleahy https://github.com/sturple/fanferret-questionbundle

Question Bundle

  Sources   Download

MIT

The Requires

 

symfony hotel survey

16/09 2016

dev-rleahy-height

dev-rleahy-height https://github.com/sturple/fanferret-questionbundle

Question Bundle

  Sources   Download

MIT

symfony hotel survey

05/05 2016

dev-rleahy_old_schema_wip

dev-rleahy_old_schema_wip https://github.com/sturple/fanferret-questionbundle

Question Bundle

  Sources   Download

MIT

symfony hotel survey