|Ratings|| ||Unique User Downloads|| ||Download Rankings|
|Not yet rated by the users||Total: 66 ||All time: 10,202 This week: 191|
This package is a Laravel service provider to track visitors.
It is a service provider that tracks users accessing a given URL and other pages that the user may visit.
The package can redirect the visitor to another page that the user wants to visit, as well keep track of the count of how many times users are visiting that page.
The redirection may happen for a given period of limited time. After that time, the user is redirected to the login page.
|Many sites only provide access to certain pages to users that are authorized to access it.
This package provides a solution as Laravel framework service that keeps track of the visitors that want to access a given page for a limited period of time.
Mostly for use in emails, so user can click url and get redirected with authentication.
Url in email have lifetime, in hours.
Monitors url visits reads, have event UrlVisit.
composer require iwedmak/url-auth
Register provider, add this to config/app.php in providers array:
After that u will need to publish config
php artisan vendor:publish
and publish migrations and migrate
php artisan urlauth:migration
php artisan migrate
Now you can user
urlauth($user_id, $url) function in your blade template(or anywhere), like this:
You can listen for
protected $listen = [
'\iWedmak\UrlAuth\Events\UrlVisit' => [
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.