qobo / cakephp-survey
CakePHP plugin for handling surveys
Installs: 20 464
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 14
Forks: 0
Open Issues: 4
Type:cakephp-plugin
Requires
- admad/cakephp-sequence: ^2.2
- cakephp/cakephp: ^3.5 <3.7
- muffin/slug: ^1.2
- muffin/trash: ^2.1
- riesenia/cakephp-duplicatable: ^3.0
Requires (Dev)
- qobo/cakephp-composer-dev: ^v1.0
- dev-master
- v5.2.0
- v5.1.7
- v5.1.6
- v5.1.5
- v5.1.4
- v5.1.3
- v5.1.2
- v5.1.1
- v5.1.0
- v5.0.0
- v4.1.0
- v4.0.1
- v4.0.0
- v3.2.2
- v3.2.1
- v3.2.0
- v3.1.0
- v3.0.0
- v2.0.0
- v1.6.0
- v1.5.14
- v1.5.13
- v1.5.12
- v1.5.11
- v1.5.10
- v1.5.9
- v1.5.8
- v1.5.7
- v1.5.6
- v1.5.5
- v1.5.4
- v1.5.3
- v1.5.2
- v1.5.1
- v1.5.0
- v1.4.0
- v1.3.4
- v1.3.3
- v1.3.2
- v1.3.1
- v1.3.0
- v1.2.4
- v1.2.3
- v1.2.2
- v1.2.1
- v1.2.0
- v1.1.4
- v1.1.3
- v1.1.2
- v1.1.1
- v1.1.0
- v1.0.0
- dev-dependabot/add-v2-config-file
- dev-task-15531
- dev-task-9313-AdminLTE-update
This package is auto-updated.
Last update: 2021-07-29 20:02:07 UTC
README
About
Template for building CakePHP 3 plugins.
This plugin is developed by Qobo for Qobrix. It can be used as standalone CakePHP plugin, or as part of the project-template-cakephp installation.
Usage
Pull the template code into your plugin:
composer require qobo/cakephp-survey
Setup
Load plugin
bin/cake plugin load --bootstrap --routes Qobo/Survey
or manually add it to config/bootstrap.php
:
Plugin::load('Qobo/Survey', ['routes' => true, 'bootstrap' => true]);
Survey plugin also uses ADmad/cakephp-sequence
plugin for Questions/Answers ordering as part of qobo/cakephp-utils
setup.
In order to enable that feature don't forget to load it in APP/config/bootstrap.php
:
Plugin::load('ADmad/Sequence');
In order for the plugin to work correctly, you should also run DB migrations:
./bin/cake migrations migrate --plugin Qobo/Survey
Surveys plugin is designed for the systems, that use authorised users, so you might run into few glitches on a plain CakePHP installation if you don't have native AuthComponent
enabled.
We use qobo/cakephp-utils
plugin as a generic toolset provider. It contains CakeDC/Users
plugin to handle authentication/authorisation for the users.
The plugin was designed with AdminLTE theme in mind, so you can enable it as well using:
//inside config/bootstrap.php add: Plugin::load('AdminLTE', ['bootstrap' => true, 'routes' => true]);
//in your AppController.php: public function beforeFilter(Event $event) { $this->viewBuilder()->theme('AdminLTE'); $this->viewBuilder()->layout('adminlte'); // copy adminlte.ctp to your src/Template/Layout/ directory from the plugin. }
Note: Qobo provides qobo/project-template-cakephp
repository where you can find some of the company plugins already pre-configured and used.
Support
For bugs and feature requests, please use the issues section of this repository.