Skip to content

Easy to use PHP class for scoring the Dsm-5 Adult

Notifications You must be signed in to change notification settings

lePhilissimo/dsm-5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dsm-5

Easy to use PHP class for scoring the Dsm-5 Adult Evaluation

Purpose

To provide a straightfoward 'Dsm-5 Adult' implementation for software offering this Evaluation.

How it works

It's super simple!

  1. Require 'dsm5.php' in your application
  • require 'dsm5.php';
  1. Instantiate your $test object
  • $test = new Dsm5();
  1. call GetQuestions() to retrieve the test questions (returns a JSON object)
  • $test->GetQuestions();
  1. call ScoreTest(), and pass in a JSON object of responses (returns a JSON object)
  • $test->ScoreTest($myJSONResponses);
  1. That's it!

Test Data

Check out test-data.json for examples and formatting

About

Easy to use PHP class for scoring the Dsm-5 Adult

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages