This package can manage the upload of public and private files.
It can handle file uploads by storing the files in local directory or a remote directory in Amazon S3.
The package can also associate file ownership to a given Laravel application user, with the possibility to restrict the access until a given date, as well forbid certain user to access a given file.
Innovation Award
May 2020
Number 8
Many sites need to allow users to upload files to be shared with other users either publicly or privately.
Access control may also need to be personalized, so only a set of users may access those uploaded files.
This package provides a solution, that can not only restrict the access of files to certain users, but can also restrict the period of time that the files remain accessible until a specific date.
$permits = $file->permits; // Getting Permits List
$permitted = $file->isPermitted($user); // Checking if permitted (App\User)
$file->permit($user, '2021-02-01'); // Permitting a user
$file->forbid($user); // Forbidding a user