This fork of abbasudo/laravel-purity was created specifically to maintain compatibility with the Lumen framework, a lightweight version of Laravel focused on API generation.
Add the following to your /bootstrap/app.php
$app->register(Abbasudo\Purity\PurityServiceProvider::class);
See abbasudo.github.io/laravel-purity/ for complete documentation.