friendsofcat/laravel-better-temporary-urls

There is no license information available for the latest version (2.0.0) of this package.

Better temporary URL handling for Laravel filesystems

2.0.0 2022-03-14 16:37 UTC

This package is auto-updated.

Last update: 2024-11-14 22:36:06 UTC


README

Actions Status

Better Support for Temporary URLs in Laravel Filesystems

Installation

Versions

composer require friendsofcat/laravel-better-temporary-urls

This packages service provider is auto discovered, so the service provider does not need to be manually added.

Configuration can be published with the artisan vendor:publish command.

Adapters

The following filesystem adapters can be overridden:

  • local: An overridden version of the local adapter to provide a temporary URL (signed) route.
  • s3: An overridden S3 adapter to provide a custom getTemporaryUrl method that generates signed/timed S3 links without making additional requests to get the actual link.

These adapters are enabled by default, but can be disabled in configuration.