kitar / laravel-dynamodb

A DynamoDB based Eloquent model and Query builder for Laravel.
MIT License
179 stars 27 forks source link

Add same config options as laravel #11

Closed paulhenri-l closed 2 years ago

paulhenri-l commented 2 years ago

Laravel's cache driver also uses dynamodb, the way they create the Client makes it possible to use it on Lambda without having to specify keys or anything else.

You can see that over here : https://github.com/laravel/framework/blob/8.x/src/Illuminate/Cache/CacheManager.php#L259:L274

This is also backward compatible with the existing config structure so there in nothing to worry about on that side.

kitar commented 2 years ago

@paulhenri-l Thank you for the great PR! I agree with your suggestion. Let's merge it :)