Support the ongoing development of Laravel.io →
Authentication Security Requests

Hello, A client of mine would like to track the number of downloads for documents in a Laravel 5.8 website. Right now, each document has a status of "Public", "Lite" or "Full". And you guessed it: you need to be logged in as a Lite or Full member to download the none public documents. How can I properly: A) Add in my User table a list of all the documents downloaded? B) And for guest users, to request and store their email to download the "public" documents. Any tip or link to some documentation would be much appreciated! Thanks!

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Reza rezaodb Joined 23 Sep 2019

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.