PHPackages                             matasarei/rumble - 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. [Database &amp; ORM](/categories/database)
4. /
5. matasarei/rumble

AbandonedArchivedSymfony-bundle[Database &amp; ORM](/categories/database)

matasarei/rumble
================

A DynamoDB migration bundle for Symfony 4

4.0.1(7y ago)1181MITPHP

Since May 31Pushed 7y ago1 watchersCompare

[ Source](https://github.com/matasarei/rumble)[ Packagist](https://packagist.org/packages/matasarei/rumble)[ RSS](/packages/matasarei-rumble/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

Rumble
======

[](#rumble)

A DynamoDB migration bundle for Symfony 4 based on original Rumble lib.

### Class definition

[](#class-definition)

- **Migration:** Every migration file (class) you create must extend the rumble `Migration` class and must define an `up` method.
- **Seed:** Every seed file (class) you create must extend the rumble `Seeder` class and must define a `seed` method.

### Using Rumble

[](#using-rumble)

- **Migration:** to apply migrations, run `./bin/console rumble:migrate`
- **Seed:** to execute seed files, run `./bin/console rumble:seed`

### Supported DynamoDB features

[](#supported-dynamodb-features)

Currently, `rumble` supports only the below dynamodb features:

- Create table
- Update table
- Delete table
- Add Item
- Batch Write Item

### Installation

[](#installation)

1. Add bundle to your project: `composer require matasarei/rumble`
2. Add config file: `config/packages/rumble.yaml`

    With default content:

    ```
     rumble:
         migrations_dir: 'migrations' # /migrations/... (optional)
         seeds_dir: 'seeds' # /seeds/... (optional)
         version: '2012-08-10' # (default, optional)
         region: 'dev'
         key: 'dev'
         secret: 'dev'
         endpoint: 'http://dynamodb:8000'
    ```

    You can also override values by adding additional configurations to:

    - `config/packages/dev/rumble.yaml` for `dev` environment;
    - `config/packages/test/rumble.yaml` for `test` \\ `qa` environment;
    - `config/packages/prod/rumble.yaml` for `prod` environment.

### Create a new table

[](#create-a-new-table)

```
