Download the PHP package nikoleesg/survey without Composer
On this page you can find all versions of the php package nikoleesg/survey. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nikoleesg/survey
More information about nikoleesg/survey
Files in nikoleesg/survey
Package survey
Short Description This is my package survey
License MIT
Homepage https://github.com/nikoleesg/survey
Informations about the package survey
This is my package survey
This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.
Support us
We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products.
We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall.
Installation
You can install the package via composer:
You can publish and run the migrations with:
You can publish the config file with:
This is the contents of the published config file:
Optionally, you can publish the views using
Usage
Exceptions
Every exception the package throws extends Nikoleesg\Survey\Exceptions\SurveyException (a RuntimeException), so a single catch (SurveyException $e) covers them all.
| Exception | Thrown when |
|---|---|
MissingSurveyIdException |
No survey id could be resolved: none passed, none set via setSurvey(), and survey.survey_id is null or empty. |
UnreadableFileException |
A get*FromFile() loader is given a path that does not exist or cannot be read. The message names the loader and the path. |
NoDataLoadedException |
persist() or getData() is called before any get*FromFile() loader. |
UnparseableColumnException |
A non-blank DATETIME/DATE/TIME column in the closed-answer file does not match its survey.formats.* pattern. The message names the interview, variable, raw value and format. Blank columns are stored as null, not thrown. |
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Niko Lee
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of survey with dependencies
spatie/laravel-data Version ^4.0
larautil/foundation Version ^1.0
spatie/laravel-package-tools Version ^1.14.0
spatie/eloquent-sortable Version ^4.0
spatie/laravel-sluggable Version ^3.5
spatie/laravel-enum Version ^3.0
illuminate/contracts Version ^10.0
