Skip to content

example of user agent detection using ua-parser-js in laravel

Notifications You must be signed in to change notification settings

irfanssl/example-of-user-agent-detection

Repository files navigation

Requirement

  • PHP 8.0
  • Laravel 9

How to run the project

  • make sure the requirements are fulfilled
  • run this comand one by one:
  • composer install
  • npm install

just wait until finish installation

and run this :

  • php artisan migrate
  • php artisan db:seed
  • php artisan serve

open second terminal :

  • npm run dev

Fyi : this project is using vite (modern JS asset bundling)

visit the doc here : https://laravel.com/docs/9.x/vite no need to worry , everything is setup correctly according the doc.

About

example of user agent detection using ua-parser-js in laravel

Topics

Resources

Stars

Watchers

Forks