1. Go to this page and download the library: Download ekoukltd/laraconsent library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
ekoukltd / laraconsent example snippets
//Grouping of admin web routes
'routes' => [
'admin' => [
//Admin web routes should only be available to admins
'prefix' => 'consent-admin',
'middleware' => ['web','auth']
],
'user' => [
//User routes should be available to any logged in user
'prefix' => 'consent',
'middleware' => ['web']
],
],