aldaflux/game-quizz-bundle

Symfony Bundle de création de quizz

Installs: 112

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 0

Type:symfony-bundle

v1.5.0 2024-03-22 08:38 UTC

README

Install

composer require aldaflux/game-quizz-bundle

Config

aldaflux_game_quizz:
    fields:
        video:
            youtube: true
            mpg: false
            videolink: true
        audio:
            question: true
            reponse: true
            reponses: true
    folders:
        public: '%kernel.project_dir%/public'
        audio: 'sons'
        video: 'game_quizz_data/videos'
    google_json: '/path/to/google_id.json'

Routing

quizz_game_bundle:
    resource: '@AldafluxGameQuizzBundle/Controller/AdminController.php'
    prefix: /game/admin
    type: annotation
    
quizz_game_play_bundle:
    resource: '@AldafluxGameQuizzBundle/Controller/GameController.php'
    prefix: /game/play
    type: annotation

Create symlink

php bin/console assets:install --symlink