Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mehedimi/laravel-dynamodb
Laravel DynamoDB is a package for laravel to use dynamodb as a database driver
https://github.com/mehedimi/laravel-dynamodb
aws dynamodb eloquent laravel laravel-dynamodb laravel-framework php
Last synced: 3 months ago
JSON representation
Laravel DynamoDB is a package for laravel to use dynamodb as a database driver
- Host: GitHub
- URL: https://github.com/mehedimi/laravel-dynamodb
- Owner: mehedimi
- License: mit
- Created: 2021-06-04T14:07:05.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-09-11T09:19:09.000Z (over 3 years ago)
- Last Synced: 2024-09-30T10:40:56.793Z (4 months ago)
- Topics: aws, dynamodb, eloquent, laravel, laravel-dynamodb, laravel-framework, php
- Language: PHP
- Homepage: https://packagist.org/packages/mehedimi/laravel-dynamodb
- Size: 75.2 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Laravel DynamoDB
Use aws dynamodb as a database on Laravel![Banner](https://banners.beyondco.de/Laravel%20DynamoDB.png?theme=light&packageManager=composer+require&packageName=mehedimi%2Flaravel-dynamodb&pattern=architect&style=style_1&description=Use+aws+dynamodb+on+Laravel&md=1&showWatermark=0&fontSize=100px&images=document-search)
### Installation
```shell
composer require mehedimi/laravel-dynamodb
```
### Configuration
Add dynamodb configs to config/database.php:
```
'connections' => [
'dynamodb' => [
'driver' => 'dynamodb',
'region' => env('AWS_DEFAULT_REGION'),
'access_key' => env('AWS_ACCESS_KEY_ID'),
'secret_key' => env('AWS_SECRET_ACCESS_KEY'),
'endpoint' => env('AWS_ENDPOINT'),
],
...
],
```### Use general raw PHP project
```php
table('Users')->query();
```For more documentation [click](https://github.com/mehedimi/laravel-dynamodb/wiki) here