Download the PHP package haridarshan/laravel-url-signer-cloudfront without Composer
On this page you can find all versions of the php package haridarshan/laravel-url-signer-cloudfront. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download haridarshan/laravel-url-signer-cloudfront
More information about haridarshan/laravel-url-signer-cloudfront
Files in haridarshan/laravel-url-signer-cloudfront
Package laravel-url-signer-cloudfront
Short Description Wrapper around the official AWS PHP SDK to generate CloudFront signed URLs
License MIT
Informations about the package laravel-url-signer-cloudfront
Laravel CloudFront Url Signer
This a simple wrapper around the official AWS PHP Laravel SDK to generate CloudFront signed URLs
Installation
The package can be installed via Composer:
Configuration
With Laravel
By default, the package uses the following environment variables to auto-configure the plugin without modification:
To customize the configuration file, publish the package configuration using Artisan.
The settings can be found in the generated config/aws.php
and config/cloudfront.php
configuration file. By default, the credentials and region settings will pull from your .env
file.
config/aws.php (published by Aws\Laravel\AwsServiceProvider)
config/cloudfront.php
Please Note: Add
CLOUDFRONT_PRIVATE_KEY_PATH
andCLOUDFRONT_KEY_PAIR_ID
in.env
file
Usage
Signing CloudFront URLs for private distributions
With Default configuration
With custom expiry
Use a custom policy to create CloudFront URLs
Signing CloudFront cookies for private distributions
With Default configuration
Use a custom policy to create CloudFront cookies
Outside Laravel Application
All versions of laravel-url-signer-cloudfront with dependencies
aws/aws-sdk-php-laravel Version ^3.0
illuminate/config Version ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0
illuminate/support Version ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0
vlucas/phpdotenv Version ^3.3 || ^4.0 || ^5.0 || ^5.4