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 yesterday

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 49% 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

2642d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6e6cd8618fcd401c5d9f2844bc7254968f6119544eb5bd85502e15a553d7b70a?d=identicon)[ahmadsajid1989](/maintainers/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.6k263.6M790](/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.7k35.6M75](/packages/aws-aws-sdk-php-laravel)[humanmade/s3-uploads

WordPress plugin to store uploads on S3

2.1k2.4M9](/packages/humanmade-s3-uploads)[aws/aws-sdk-php-resources

A resource-oriented API for interacting with AWS services

1381.8M10](/packages/aws-aws-sdk-php-resources)[aws/aws-sdk-php-zf2

Zend Framework 2 Module that allows easy integration the AWS SDK for PHP

104997.5k5](/packages/aws-aws-sdk-php-zf2)[frostealth/yii2-aws-s3

An Amazon S3 component for Yii2

90698.9k5](/packages/frostealth-yii2-aws-s3)

PHPackages © 2026

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