LaravelPackages.net
Acme Inc.
Toggle sidebar
ndum/laravel-seb

Laravel Package for generating encrypted SEB (Safe Exam Browser) client configurations

3.137
3
v1.6.0
About ndum/laravel-seb

ndum/laravel-seb is a Laravel package for laravel package for generating encrypted seb (safe exam browser) client configurations. It currently has 3 GitHub stars and 3.137 downloads on Packagist (latest version v1.6.0). Install it with composer require ndum/laravel-seb. Discover more Laravel packages by ndum or browse all Laravel packages to compare alternatives.

Last updated

laravel-seb

This Laravel-Package provides the possibility to generate encrypted SEB (Safe Exam Browser) configurations. its mainly used to generate automatic seb-exams configurations with secure defaults options.

Requirements

Laravel 8 or newer with php8 and enabled ext-openssl, ext-zlib

Limititations

Its can only be used for password-encrypted exams (client-configurations currently are not supported)

Installation

Install via Composer.

$ composer require ndum/laravel-seb

Examples

NOTE: For production - Please use secure passwords and a secure seb-config!

Parameters

$sebConfig = seb-config as json-array (show examples/example_seb_config.json)
$startPassword = encryption-password as string
$quitPassword = close-password as string
$adminPassword = admin-password as string
Traditionally:
use Ndum\Laravel\SebConfigGenerator;
use Storage;

$config = Storage::disk('local')->get('/examples/example_seb_config.json'); // just as example...
$startPassword = 'test';
$quitPassword = 'test';
$adminPassword = 'test';

$sebConfig = json_decode($config, true);

$generator = new SebConfigGenerator();
$encryptedSebConfig = $generator->createSebConfig($sebConfig, $startPassword, $quitPassword, $adminPassword);
dd($encryptedSebConfig);
Facade:
use Ndum\Laravel\Facades\SebConfigGenerator;
use Storage;

$config = Storage::disk('local')->get('/examples/example_seb_config.json'); // just as example...
$startPassword = 'test';
$quitPassword = 'test';
$adminPassword = 'test';

$sebConfig = json_decode($config, true);

$encryptedSebConfig = SebConfigGenerator::createSebConfig($sebConfig, $startPassword, $quitPassword, $adminPassword);
dd($encryptedSebConfig);

Issues / Contributions

Directly via GitHub

License

This project is licensed under the MIT License - see the LICENSE-File for details

Star History Chart