Added Mobile Detection.

This commit is contained in:
Sebastian 2020-06-22 20:55:40 +02:00
parent 8ac8930844
commit f5fd0eb5bd
5 changed files with 179 additions and 558 deletions

View File

@ -116,6 +116,9 @@
<path value="$PROJECT_DIR$/skolehjem/vendor/composer" /> <path value="$PROJECT_DIR$/skolehjem/vendor/composer" />
<path value="$PROJECT_DIR$/skolehjem/vendor/spatie/laravel-permission" /> <path value="$PROJECT_DIR$/skolehjem/vendor/spatie/laravel-permission" />
<path value="$PROJECT_DIR$/skolehjem/vendor/laravel/ui" /> <path value="$PROJECT_DIR$/skolehjem/vendor/laravel/ui" />
<path value="$PROJECT_DIR$/skolehjem/vendor/jaybizzle/crawler-detect" />
<path value="$PROJECT_DIR$/skolehjem/vendor/jenssegers/agent" />
<path value="$PROJECT_DIR$/skolehjem/vendor/mobiledetect/mobiledetectlib" />
</include_path> </include_path>
</component> </component>
<component name="PhpProjectSharedConfiguration" php_language_level="7.2" /> <component name="PhpProjectSharedConfiguration" php_language_level="7.2" />

View File

@ -28,6 +28,8 @@
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/guzzlehttp/promises" /> <excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/guzzlehttp/promises" />
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/guzzlehttp/psr7" /> <excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/guzzlehttp/psr7" />
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/hamcrest/hamcrest-php" /> <excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/hamcrest/hamcrest-php" />
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/jaybizzle/crawler-detect" />
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/jenssegers/agent" />
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/laminas/laminas-diactoros" /> <excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/laminas/laminas-diactoros" />
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/laminas/laminas-zendframework-bridge" /> <excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/laminas/laminas-zendframework-bridge" />
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/laravel/framework" /> <excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/laravel/framework" />
@ -39,6 +41,7 @@
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/league/event" /> <excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/league/event" />
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/league/flysystem" /> <excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/league/flysystem" />
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/league/oauth2-server" /> <excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/league/oauth2-server" />
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/mobiledetect/mobiledetectlib" />
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/mockery/mockery" /> <excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/mockery/mockery" />
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/monolog/monolog" /> <excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/monolog/monolog" />
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/myclabs/deep-copy" /> <excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/myclabs/deep-copy" />

View File

@ -12,6 +12,7 @@
"fideloper/proxy": "^4.2", "fideloper/proxy": "^4.2",
"fruitcake/laravel-cors": "^1.0", "fruitcake/laravel-cors": "^1.0",
"guzzlehttp/guzzle": "^6.3", "guzzlehttp/guzzle": "^6.3",
"jenssegers/agent": "^2.6",
"laravel/framework": "^7.0", "laravel/framework": "^7.0",
"laravel/tinker": "^2.0", "laravel/tinker": "^2.0",
"laravel/ui": "^2.0", "laravel/ui": "^2.0",

727
skolehjem/composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -166,7 +166,7 @@ return [
* Package Service Providers... * Package Service Providers...
*/ */
Spatie\Permission\PermissionServiceProvider::class, Spatie\Permission\PermissionServiceProvider::class,
Jenssegers\Agent\AgentServiceProvider::class,
/* /*
* Application Service Providers... * Application Service Providers...
@ -229,6 +229,7 @@ return [
'Validator' => Illuminate\Support\Facades\Validator::class, 'Validator' => Illuminate\Support\Facades\Validator::class,
'View' => Illuminate\Support\Facades\View::class, 'View' => Illuminate\Support\Facades\View::class,
'Agent' => Jenssegers\Agent\Facades\Agent::class,
], ],
]; ];