kitar / laravel-dynamodb

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

InvalidArgumentException Unsupported driver [dynamodb]. #39

Closed jaronQ closed 8 months ago

jaronQ commented 9 months ago

I'm faced with this error:

Illuminate\Database\Connectors\ConnectionFactory::createConnection /var/www/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php:287

Am I missing something here?

image

kitar commented 9 months ago

@jaronQ Sorry for the delayed reply. Could you provide more details about your setup? I'm interested in the version of Laravel you're using and how you're attempting to connect to DynamoDB—is it through a Model, the DB Facade, or Kitar\Dynamodb\Connection, etc.?

kitar commented 8 months ago

I'm closing this issue as it's no longer active. Please feel free to reopen it if the problem hasn't been resolved.

jaronQ commented 8 months ago

I was able to get it working with Kitar\Dynamodb\Connection - I saw the error when trying to use ::find or ::all() with the model methods.

kitar commented 8 months ago

@jaronQ Thanks for sharing! If you're still experiencing the issue, could you provide a bit more detail on how to reproduce the problem? It might help me assist you better.