[ 'domain' => null, 'prefix' => 'cookiesconsent', ], /* |-------------------------------------------------------------------------- | Consent cookie configuration |-------------------------------------------------------------------------- | | In order to keep track of the user's preferences, this package stores | an anonymized cookie. You do not need to register this cookie in the | package's cookie manager as it is done automatically (under "essentials"). | | The duration parameter represents the cookie's lifetime in minutes. | | The domain parameter, when defined, determines the cookie's activity domain. | For multiple sub-domains, prefix your domain with "." (eg: ".mydomain.com"). | */ 'cookie' => [ 'name' => Str::slug((string) env('APP_NAME', 'laravel'), '_').'_cookiesconsent', 'lifetime' => 60 * 24 * 365, 'domain' => null, ], /* |-------------------------------------------------------------------------- | Legal page configuration |-------------------------------------------------------------------------- | | Most cookie notices display a link to a dedicated page explaining | the extended cookies usage policy. If your application has such a page | you can add its route name here. | */ 'policy' => null, ];