Download the PHP package smtech/grading-analytics without Composer

On this page you can find all versions of the php package smtech/grading-analytics. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package grading-analytics

Canvas Grading Analytics

Latest Version Scrutinizer Code Quality

Generate some reporting on faculty grading practices. To start automated data-collection, run the private/data-collection.sh script once. It will harvest the first round of data and then create a crontab job to repeat that process every night at midnight.

A description of the information collected by is available online.

Install

Requirements

Step-by-step

This generically follows a standard PHP app install pattern, with some additional excitement thrown in for good measure.

  1. Clone the repository to your web root.

  2. Run the setup script (this will install dependencies, set file permissions, schedule Cron jobs, etc. -- it's good about telling you what it's doing as it does it, and it will require a sudo password periodically).

  3. Edit the newly created config.xml file to include your credentials for the app (a MySQL login for data storage and credentials for Canvas to communicate with the API -- either a developer key and secret or an API access url and token).

  4. Point your browser at the install to finish the app setup (this will read in the configuration file, setup database tables and so forth).

    If you need to re-run the install process later, point your browser at:

    The end result of the install process is to drop you into the LTI consumers management page, where you will need to create a new consumer key and secret.

  5. Install the API in Canvas. It should be installed in the sub-account that contains all of the courses that will be monitored for example, we install into the Academics sub-account which contains all of our departmental sub-accounts. Use Canvas' "By Url" option to paste in the consumer key, shared secret and configuration URL from the consumers management page.

  6. Visit the account navigation placement of the LTI to complete installation (this will capture the account ID of that root account via LTI authentication, which allows the data collection script to know which account to monitor).

Upgrading from v1.x to v2.0

The rationale for switching from the 1.x branch to 2.0 is largely framed around the change in underlying LTI authentication structure. This requires that existing users both re-run the app install process described above (steps 1-4) and then also re-install the LTI in Canvas (steps 5-6).

Underlying data is preserved between the 1.x and 2.0 branches, without change. However, the change in LTI structure also created a tool_metadata table in the MySQL database which replaces the app_metadata table, which can be deleted.

In the course_statistics table, I did opt to run a quick script to update all of the analytics_page fields to point to the new LTI install, but that's not really necessary, since, as soon as new data is collected, those old links won't be visible again.


All versions of grading-analytics with dependencies

PHP Build Version
Package Version
Requires smtech/stmarks-reflexive-canvas-lti Version ^0.2
pear/log Version ~1.12
npm-asset/chart.js Version ~2.2
battis/data-utilities Version ^0.1
battis/simplecache Version ^1.0
myclabs/php-enum Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package smtech/grading-analytics contains the following files

Loading the files please wait ....