Bagisto Hosting

Laravel eCommerce Amazon S3 Extension

Updated 17 June 2026

Introduction

Laravel eCommerce Amazon S3 Extension enables storing static files and media on S3 buckets for direct retrieval.

We’ve also included the functionality to set an expiration header.

Amazon S3 (Simple Storage Service) is a cloud storage service offered by AWS (Amazon Web Services).

The module lets store admins upload downloadable products, media files, content, and product images from local storage to Amazon S3.

Note:

Features

Requirement

Bagisto: v1.3.1.

Installation

Unzip the respective extension zip and then merge “packages” folders into the project root directory.

 

1-installation-bagisto

 

Go to the config/app.php file and add the following line under ‘providers’

 

2-config-php-file

 

Go to the composer.json file and add the following line under ‘psr-4’

 

composer-psr-4file

 

To complete the setup, run the commands mentioned below:

dump-autoload-bagisto

 

 

flysystem-bagisto

 

artisan-configure-bagisto

 

 

artisan-rote-cache

 

That’s it, now just execute the project on your specified domain.

Setting Up Amazon S3 Server Credentials

(i) To start with, create a new AWS account by using Sign-up. 

 

aws-s3-server-configuration

 

(ii) And then log in to your AWS account by Sign-in.

 

aws-account-sign-in

 

(iii) After your account has been successfully createdselect the S3 among the available AWS services or you can search for an S3 service in the search box.

 

s3-service-search-box

 

(iv) This will take you to a page where you can view your created buckets or create a new bucket.

To create a new bucket, choose to create a bucket from the drop-down menu.

 

s3-bucket-creat-bucket-from-drop-down-menu

 

(v) After clicking Create Bucket, open the Create Bucket tab and enter all required details to set up a bucket.

Then, at the bottom, press Create bucket.

Note:- Make sure to uncheck the “Block all public access”.

 

block-all-public-access

 

(vi) Here you can upload the files and create a folder to save the data. Also, you can view the saved data.

 

my-aws-bagisto

 

(vii) Click IAM under Security, Identity & Compliance to create an access key ID and a secret access key.

 

iam-secret-key-passcode

 

(viii) Click Users in the IAM dashboard to view and delete existing users, as well as add a new one.

 

iam-dashboard

 

 

identity-acess-managment-iam

 

 

iam-username

 

 

amazon-s3-full-access

 

 

create-user

 

 

success-message-page

Note:

  • Please be ensure that you have Amazon S3 Full Access to allow Read and Write access to an object in an S3 bucket and additional permissions for console access. 

Amazon S3 Extension Configuration

The admin can customize the module settings after installing the extension by going to Configure > AWS Integration as seen below:

s3-extension-configuration

 

Open the Bagisto Admin Panel and fill in the following information.

 

admin-configuration

 

Go to Dashboard after clicking the save button in the right top corner.

 

bagisto-dashboard-configuration

 

Click the AWS integration button in the left bottom corner.

Now, click the Synchronize button and wait a few seconds to see whether the synchronization was successful.

 

synchronization-bagisto

 

success-syn

 

Finally, after successful synchronization, you will receive the following message.

 

success-syn

 

The content is now served from the S3 bucket, as you can see.

 

bagisto-s3-bucket

 

So, this is all for the Amazon S3 extension module of Bagisto.

 

In case of any help, query, or feedback please contact us or raise a ticket.

 

Thank you for reading this document,

Keep in touch!!

 

 

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

Start a Project




    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home