You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.2 KiB
PHTML
38 lines
1.2 KiB
PHTML
1 year ago
|
<?php
|
||
|
|
||
|
return [
|
||
|
/*
|
||
|
|--------------------------------------------------------------------------
|
||
|
| Default Driver
|
||
|
|--------------------------------------------------------------------------
|
||
|
|
|
||
|
| This value determines which of the following driver to use.
|
||
|
| You can switch to a different driver at runtime.
|
||
|
|
|
||
|
*/
|
||
|
'default' => 'jenssegers',
|
||
|
|
||
|
//except save request or route names
|
||
|
'except' => ['login', 'register'],
|
||
|
|
||
|
//name of the table which visit records should save in
|
||
|
'table_name' => 'shetabit_visits',
|
||
|
|
||
|
/*
|
||
|
|--------------------------------------------------------------------------
|
||
|
| List of Drivers
|
||
|
|--------------------------------------------------------------------------
|
||
|
|
|
||
|
| This is the array of Classes that maps to Drivers above.
|
||
|
| You can create your own driver if you like and add the
|
||
|
| config in the drivers array and the class to use for
|
||
|
| here with the same name. You will have to implement
|
||
|
| Shetabit\Visitor\Contracts\UserAgentParser in your driver.
|
||
|
|
|
||
|
*/
|
||
|
'drivers' => [
|
||
|
'jenssegers' => \Shetabit\Visitor\Drivers\JenssegersAgent::class,
|
||
|
'UAParser' => \Shetabit\Visitor\Drivers\UAParser::class,
|
||
|
],
|
||
|
];
|