{"id":20471711,"url":"https://github.com/bebbolus/elasticsessions","last_synced_at":"2026-05-08T02:03:46.425Z","repository":{"id":62492655,"uuid":"86676581","full_name":"Bebbolus/ElasticSessions","owner":"Bebbolus","description":"a package to provide a ElasticSearch Sessions Driver for Laravel PHP Framework","archived":false,"fork":false,"pushed_at":"2017-04-13T15:45:16.000Z","size":36,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-16T02:23:22.064Z","etag":null,"topics":["elasticsearch","elasticsearch-sessions-driver","laravel","laravel-php-framework","package","php","session","session-driver","session-drivers"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Bebbolus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-30T08:11:30.000Z","updated_at":"2017-04-13T14:31:55.000Z","dependencies_parsed_at":"2022-11-02T11:16:22.816Z","dependency_job_id":null,"html_url":"https://github.com/Bebbolus/ElasticSessions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bebbolus%2FElasticSessions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bebbolus%2FElasticSessions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bebbolus%2FElasticSessions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bebbolus%2FElasticSessions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Bebbolus","download_url":"https://codeload.github.com/Bebbolus/ElasticSessions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242039394,"owners_count":20061923,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["elasticsearch","elasticsearch-sessions-driver","laravel","laravel-php-framework","package","php","session","session-driver","session-drivers"],"created_at":"2024-11-15T14:17:01.480Z","updated_at":"2025-12-06T02:02:43.310Z","avatar_url":"https://github.com/Bebbolus.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ElasticSessions\na package to provide a ElasticSearch Sessions Driver for Laravel PHP Framework\n\n## Requirements\nElasticSessions is born on top of Elastiquent, you must be running at least Elasticsearch 1.0. Elasticsearch 0.9 and below will not work and are not supported.\n\n_**You need to set-up your own Index and Type for sessions and configure it in .env (ELS_INDEX_USER, ELS_TYPE_SESSION)**_\n\n## Set up\n\nTo begin configuration, first update the composer.json with the relative requirement and autoload sections: \n\nRequire section for our custom package and third party libraries:\n\n    ...\n    \"require\": {\n        ...\n        \"elasticquent/elasticquent\": \"dev-master\",\n        \"bebbolus/elasticsessions\": \"dev-master\"\n    },\n    ...\n      \nNow add the following code on _App\\Config\\App.php_\n\nadd app providers:\n\n    'providers' =\u003e [\n        ...\n        Elasticquent\\ElasticquentServiceProvider::class,\n        ElasticSessions\\ElasticSessionsServiceProvider::class, #CUSTOM ELASTIC SESSION PROVIDER\n    ],\n    \nadd third party Package Facades:\n\n    'aliases' =\u003e [\n        ...\n        'Es' =\u003e Elasticquent\\ElasticquentElasticsearchFacade::class,\n    ],\n    \nrun commands:\n\n    \u003e composer dump-autoload -o\n    \u003e composer update\n    \u003e php artisan vendor:publish --force\n\n    \nThe .env of DEFAULT DEVELOPMENT ENVIRONMENT:\n\n    \n    SESSION_DRIVER=elastic\n   \n    ELS_MAX_RESULT=20\n    \n    ELS_SERVER=localhost\n    ELS_INDEX_USER=user\n    ELS_TYPE_SESSION=sessions\n    \n**_NB_**\n\n\u003e edit the .env file with the right configuration parameters\n\u003e for the application you will develp \n\u003e i.e. all the ELS_* parameters, etc...\n\n_**You need to set-up your own Index and Type for sessions and configure it in .env (ELS_INDEX_USER, ELS_TYPE_SESSION)**_\n\n## TODO\n\n 1. TEST!!!!!!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbebbolus%2Felasticsessions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbebbolus%2Felasticsessions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbebbolus%2Felasticsessions/lists"}