Skip to content

Commit

Permalink
Added support for laravel 9 and updated readme to shows up which type…
Browse files Browse the repository at this point in the history
… of question supported (#30)
  • Loading branch information
stojankukrika authored Feb 11, 2022
1 parent cb4384e commit 3201fd4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
}
],
"require": {
"php": "^7.3|^7.4|^8.0",
"illuminate/database": "^6.0|^7.0|^8.0"
"php": "^7.3|^7.4|^8.0|^8.1",
"illuminate/database": "^6.0|^7.0|^8.0|^9.0"
},
"require-dev": {
"phpunit/phpunit": "^8.0|^9.0",
Expand Down
7 changes: 7 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@ $survey->questions()->create([
]);
```

#### What type of question supported
- `radio` - Radio option with option to single select option
- `number` - Option to enter number value as answer
- `text` - Option to enter text value as answer
- `radio-and-text` - Option to enter text value as Other and options value will show up as radio options
- `mutliselect` - Option to select multiple values

#### Creating Multiple Sections
You may also park your questions under multiple sections.
```php
Expand Down

0 comments on commit 3201fd4

Please sign in to comment.