Skip to content

coreymcmahon/laravel-aws-audio-stream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

laravel-aws-audio-stream

Small proof of concept application showing how audio files (MP3s) can be streamed from S3 using CloudFront and JWPlayer.

Requirements

  • AWS account with S3 and CloudFront enabled
  • AWS key and secret key
  • Name of a bucket created in S3

Usage

To install:

$ git clone git@github.com:coreymcmahon/laravel-aws-audio-stream.git
$ cd laravel-aws-audio-stream
$ chmod -R 777 app/storage/

Update app/config/amazon.php with your AWS settings.

Update app/config/database.php with your database settings.

$ composer install
$ ./artisan migrate

Create a user in the database.

$ ./artisan create:user someuser@somedomain.com
Please enter a password
Please confirm the password
User successfully added.

Start the test web server.

$ ./artisan serve

Notes

  • You'll probably need to update your upload_max_filesize setting (default is 2 MB).

About

Small proof of concept application showing how audio files (MP3s) can be streamed from S3 using CloudFront and JWPlayer.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published