aytacmalkoc / tracker
Track users
v1.0.0
2024-01-19 08:58 UTC
Requires
- php: ^8.1
- jenssegers/agent: ^2.6
Requires (Dev)
- orchestra/testbench: ^6.0
- phpunit/phpunit: ^9.0
README
Install package using composer
composer require aytacmalkoc/tracker
Run artisan's migrate command
php artisan migrate
Publish assets
php artisan vendor:publish --tag=tracker::assets
If you need the customization package, export config file
php artisan vendor:publish --tag=tracker::config
Add @trackerScript directive and csrf token to top of head tag
<head> @trackerScript <meta name="csrf-token" content="{{ csrf_token() }}"> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> </head>
License
MIT License. Please check license file.