Download the PHP package freitasmurillo/dynamodb-migration without Composer

On this page you can find all versions of the php package freitasmurillo/dynamodb-migration. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package dynamodb-migration

Rumble

Codacy Badge

A php migration tool for AWS dynamoDB.

Requirements

To use for migration and seeding, you should either have aws dymanodb locally installed or have a valid aws credential for the remote version in a particular aws region.

Disclosure

is far from being complete compared to other migration tool out there. More features will be added in the future.

Naming Convention

Since is still in its infancy, it cannot generate migration or seeder file automatically. You have to manually create files for both migrations and seeds. Migration and Seed files are to be placed in and directories at the root of your project.

A migration or seed file must be named with an underscore separating each word that makes up the file name. e.g: , is a valid file name for a migration or a seed file.

While the file name uses underscore naming style, the class name for the file uses PasCal naming style. i.e the first letter of every word that makes up the file name must be capitalized e.g: .

Class Definition

Using Rumble

Supported DynamoDb Features

Currently, supports only the below dynamodb features;

Tutorial - Create a new table

The below code sample shows the minimum required params to create a dynamodb table using . This is from the method of the migration file (). The method, is the only required method to be implemented by every migration file you create.

Tutorial - Seed table

The below sample code shows the minimum required params to seed a dynamodb table (sample created above). This is from the method of the seed file (). The method is the only required method to be implemented by every seed file you create

Database Configuration

uses as its configuration.
These variables don't have any default value so you HAVE to set them all.
I'll show you how to propel configure it to use a local environment.


AWS_ACCESS_KEY_ID=__YOUR_AWS_ID__
AWS_SECRET_ACCESS_KEY=__YOUR_AWS_SECRET__
AWS_DYNAMO_REGION=us-east-1
AWS_DYNAMO_ENDPOINT=http://localhost:8000/
AWS_DYNAMO_VERSION=latest

All versions of dynamodb-migration with dependencies

PHP Build Version
Package Version
Requires symfony/console Version ^3.2
aws/aws-sdk-php Version 3.*
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package freitasmurillo/dynamodb-migration contains the following files

Loading the files please wait ....