{"id":17807412,"url":"https://github.com/pfazzi/dynamo-db-session","last_synced_at":"2026-04-01T18:42:02.855Z","repository":{"id":55346785,"uuid":"324179727","full_name":"pfazzi/dynamo-db-session","owner":"pfazzi","description":"DynamoDB Session is a session handler that stores session data in DynamoDB.","archived":false,"fork":false,"pushed_at":"2021-01-05T15:26:29.000Z","size":14,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-27T22:57:07.830Z","etag":null,"topics":["dynamodb","php","session","symfony"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pfazzi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-24T14:58:48.000Z","updated_at":"2021-01-11T16:27:52.000Z","dependencies_parsed_at":"2022-08-14T21:51:04.435Z","dependency_job_id":null,"html_url":"https://github.com/pfazzi/dynamo-db-session","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/pfazzi/dynamo-db-session","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pfazzi%2Fdynamo-db-session","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pfazzi%2Fdynamo-db-session/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pfazzi%2Fdynamo-db-session/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pfazzi%2Fdynamo-db-session/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pfazzi","download_url":"https://codeload.github.com/pfazzi/dynamo-db-session/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pfazzi%2Fdynamo-db-session/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31290944,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T13:12:26.723Z","status":"ssl_error","status_checked_at":"2026-04-01T13:12:25.102Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dynamodb","php","session","symfony"],"created_at":"2024-10-27T14:04:20.069Z","updated_at":"2026-04-01T18:42:02.834Z","avatar_url":"https://github.com/pfazzi.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DynamoDB Session \n\nDynamoDB Session is a session handler that stores session data in DynamoDB.\n\n## Installation\n\nUse the package manager [composer](https://getcomposer.org/) to install DynamoDB Session.\n\n```bash\ncomposer require pfazzi/dynamo-db-session\n```\n\n## Usage\n\nDefine a proper service in `config/services.yaml`\n```yaml\nservices:\n    pfazzi.dynamo_db_session:\n      class: Pfazzi\\Session\\DynamoDb\\DynamoDbSessionHandler\n      arguments:\n        $tableName: 'dashboard-session-dev' # TODO: change me!\n```\nA DynamoDb table needs to exist in the configured region with the given `$tableName` option.\nThe primary key of the table must be a String with key \"id\".\n\nTell Symfony to use it as session handler in `config/packages/framework.yaml`:\n```yaml\nframework:\n    session:\n        handler_id: pfazzi.dynamo_db_session\n```\n\n### Create session table programmatically\n\nYou can programmatically create the session table using `Pfazzi\\Session\\DynamoDb\\SessionTable` class, as in the following example:\n```php\n$tableName = 'some-session-table-name';\n\n$sdk = new Aws\\Sdk([\n    'region'   =\u003e 'eu-central-1',\n    'version'  =\u003e 'latest',\n]);\n\n$dynamodb = $sdk-\u003ecreateDynamoDb();\n\n$sessionTable = new Pfazzi\\Session\\DynamoDb\\SessionTable($dynamodb, $tableName);\n$sessionTable-\u003ecreate();\n```\n\n## Contributing\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\nPlease make sure to update tests as appropriate.\n\n## License\n[MIT](https://choosealicense.com/licenses/mit/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpfazzi%2Fdynamo-db-session","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpfazzi%2Fdynamo-db-session","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpfazzi%2Fdynamo-db-session/lists"}