PHPackages                             bongo/bongo-s3asset-installer-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. bongo/bongo-s3asset-installer-bundle

ActiveSymfony-bundle[File &amp; Storage](/categories/file-storage)

bongo/bongo-s3asset-installer-bundle
====================================

This bundle will upload your symfony web apps assets to amazon s3 easily

1.0.8(7y ago)047MITPHPPHP ^7.1.3

Since Feb 17Pushed 7y ago1 watchersCompare

[ Source](https://github.com/ahmadsajid1989/S3AssetInstaller)[ Packagist](https://packagist.org/packages/bongo/bongo-s3asset-installer-bundle)[ RSS](/packages/bongo-bongo-s3asset-installer-bundle/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (1)Versions (10)Used By (0)

\#Symfony S3 Asset Installer

This bundle adds a console command to facilate the the asset synchronization between your local file system to amazon S3. The benefit of using this bundle is, it doesnt create ugly keys in s3 bucket. and lets you isolate your production and dev assets.

The installation is very simple. First install the package using composer.

Installation
------------

[](#installation)

Require the package in your composer.json:

```
composer require bongo/bongo-s3asset-installer-bundle

```

Then enable it in your Appkernel:

```
public function registerBundles()
{
    $bundles = [
        ....
        new Bongo\S3AssetInstallerBundle\BongoS3AssetInstallerBundle(),
    ]
}
```

Configuration
-------------

[](#configuration)

You must provided the following parameters:

```
amazon_s3_key: (your key)
amazon_s3_secret: (your secret)
amazon_s3_region:  (your region)
amazon_s3_bucket: (your bucket name without s3://)
```

Then your config.yml add the following configuration:

```
bongo_s3_asset_installer:
    amazon_s3_key: "%amazon_s3_key%"
    amazon_s3_secret: "%amazon_s3_secret%"
    amazon_s3_region: "%amazon_s3_region%"
    amazon_s3_bucket: "%amazon_s3_bucket%"
```

Add the assets\_base\_url in config\_prod.yml

```
framework:
    assets:
        base_urls:
            - 'http://cdn.production.com/'
```

Add the assets\_base\_url in your config\_dev.yml

```
framework:
    assets:
        base_urls:
            - 'http://local.localhost.com/'
```

Also, you need change the `write_to` parameter to your s3 bucket:

```
assetic:
    write_to: s3://my_bucket
```

Usage
-----

[](#usage)

Just use the normal assets commands but using s3 as the target:

First install the assets:

```
php app/console s3:assets:install s3://my-bucket/

```

or

```
php bin/console s3:assets:install s3://my-bucket/

```

after asset installation, dump the assetic

```
php app/console assetic:dump s3://my-bucket

```

or

```
php bin/console assetic:dump s3://my-bucket

```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

9

Last Release

2689d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1533223?v=4)[Ahmad Sajid](/maintainers/ahmadsajid1989)[@ahmadsajid1989](https://github.com/ahmadsajid1989)

---

Top Contributors

[![ahmadsajid1989](https://avatars.githubusercontent.com/u/1533223?v=4)](https://github.com/ahmadsajid1989 "ahmadsajid1989 (14 commits)")

### Embed Badge

![Health badge](/badges/bongo-bongo-s3asset-installer-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/bongo-bongo-s3asset-installer-bundle/health.svg)](https://phpackages.com/packages/bongo-bongo-s3asset-installer-bundle)
```

###  Alternatives

[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.7k277.8M965](/packages/league-flysystem-aws-s3-v3)[aws/aws-sdk-php-laravel

A simple Laravel 9/10/11/12/13 service provider for including the AWS SDK for PHP.

1.7k37.3M83](/packages/aws-aws-sdk-php-laravel)[humanmade/s3-uploads

WordPress plugin to store uploads on S3

2.1k2.4M12](/packages/humanmade-s3-uploads)[andersundsehr/aus-driver-amazon-s3

Provides a FAL driver for the Amazon Web Service AWS S3.

24269.9k](/packages/andersundsehr-aus-driver-amazon-s3)[flownative/aws-s3

This Flow package allows you to store assets (resources) in Amazon's S3

18187.3k](/packages/flownative-aws-s3)[kolay/xlsx-stream

Streaming XLSX reader and writer for PHP and Laravel. Constant memory regardless of file size, direct S3 multipart streaming, optional born-indexed random access.

436.0k](/packages/kolay-xlsx-stream)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
