Download the PHP package epiphanyinfotech/laravel-aws-custom-policy-url-signer without Composer
On this page you can find all versions of the php package epiphanyinfotech/laravel-aws-custom-policy-url-signer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download epiphanyinfotech/laravel-aws-custom-policy-url-signer
More information about epiphanyinfotech/laravel-aws-custom-policy-url-signer
Files in epiphanyinfotech/laravel-aws-custom-policy-url-signer
Package laravel-aws-custom-policy-url-signer
Short Description Get epiphanyinfotech custom policy url to append to cloudfront file with a valid key-pair id and time limit
License MIT
Homepage https://github.com/epiphanyinfotech/laravel-cloudfront-custom-policy-url-signer
Informations about the package laravel-aws-custom-policy-url-signer
Create CloudFront Custom Policy signed URLs in Laravel 6.0+
Easy to use Laravel 6+ | 7+ | 8+ wrapper which allows to sign URLs to access Private Content through CloudFront CDN
This package can create custom policy signed URLs for CloudFront which expires after a given time. The default time is set to 86400 seconds or 24 hours. This package does not depends on AWS SDK package, but implements the example from (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CreateURL_PHP.html#sample-custom-policy)
The benefit of this approach is that you can use the same signature for multiple files and hence the processing is much much faster when you are loading multiple signed images/videos or other files on a single page.
This is how you can create signed URL that's valid for 1 day or 24 hour:
Usage
Signing URLs
The output is compliant with CloudFront specifications
Installation
The package can be installed via Composer:
Configuration
The configuration file can optionally be published via:
This is the content of the file:
Security
If you discover any security related issues, please email [email protected] or use the issue tracker.
License
The MIT License (MIT). Please see License File for more information.