ndum/laravel-seb

Laravel Package for generating encrypted SEB (Safe Exam Browser) client configurations
5,396 3
Install
composer require ndum/laravel-seb
Latest Version:v1.6.0
PHP:^8.0
Laravel:8 – 13
License:MIT
Last Updated:May 16, 2026
Links: GitHub  ·  Packagist
Maintainer: ndum

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

Related Packages

laravie/parser

XML Document Parser for PHP

2,244,222 229
spatie/array-to-xml

Convert an array to xml

73,645,315 1,198
idevman/xml-mapper

Used to map XMLs to mapped arrays

1,542 1
mtownsend/xml-to-array

Easily convert valid xml to a php array.

4,786,767 116

Version History

Version Released PHP Laravel License
v1.6.0 ^8.0 ~8.0|~9.0|~10.0|~11.0|~12.0|~13.0 MIT
v1.5.0 ^8.0 ~8.0|~9.0|~10.0|~11.0|~12.0 MIT
v1.4.0 ^8.0 ~8.0|~9.0|~10.0|~11.0 MIT
v1.3.0 ^8.0 ~8.0|~9.0|~10.0 MIT
v1.2.1 ^8.0 ~8.0|~9.0 MIT