transave/scola-cbt

A package for conducting computer based aptitude tests for applicants

2.3.2 2024-11-05 10:31 UTC

README

Latest Version on Packagist Total Downloads Build Status StyleCI

This is where your description should go. Take a look at contributing.md to see a to do list.

Installation

Via Composer

$ composer require transave/scola-cbt

Usage

Follow these steps to use the transave/scola-cbt package

  • publish the scola-cbt.php file to your config folder with this command
$ php artisan vendor:publish --tag=cbt-config
  • edit auth_model in config/scola-cbt.php to your application's User model class like so
 'auth_model' => \App\Models\User::class,
  • in your User model, add the package user helper class like so
  use Transave\ScolaCbt\Helpers\UserHelper;

  class User extends Authenticable 
  {
       use HasApiTokens, HasFactory, Notifiable;
       use UserHelper;
  }
  • you may also publish the package assets like so for the frontend to have access to them
 $ php artisan vendor:publish --tag=cbt-assets

Change log

Please see the changelog for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see contributing.md for details and a todolist.

Security

If you discover any security related issues, please email lubem@raadaa.com instead of using the issue tracker.

Credits

License

MIT. Please see the license file for more information.