{"id":44698190,"url":"https://github.com/coral-media/http-foundation","last_synced_at":"2026-02-15T08:36:05.577Z","repository":{"id":56957901,"uuid":"454645859","full_name":"coral-media/http-foundation","owner":"coral-media","description":"Overrides and/or extend http-foundation component functionality in Symfony","archived":false,"fork":false,"pushed_at":"2022-02-12T03:14:15.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-16T14:51:14.007Z","etag":null,"topics":["component","http","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/coral-media.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":"2022-02-02T04:46:13.000Z","updated_at":"2022-10-07T10:02:30.000Z","dependencies_parsed_at":"2022-08-21T04:40:15.398Z","dependency_job_id":null,"html_url":"https://github.com/coral-media/http-foundation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/coral-media/http-foundation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coral-media%2Fhttp-foundation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coral-media%2Fhttp-foundation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coral-media%2Fhttp-foundation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coral-media%2Fhttp-foundation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coral-media","download_url":"https://codeload.github.com/coral-media/http-foundation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coral-media%2Fhttp-foundation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29473718,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T06:58:05.414Z","status":"ssl_error","status_checked_at":"2026-02-15T06:58:05.085Z","response_time":118,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["component","http","symfony"],"created_at":"2026-02-15T08:36:05.025Z","updated_at":"2026-02-15T08:36:05.566Z","avatar_url":"https://github.com/coral-media.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# http-foundation\n\nIntended to override and/or extend [http-foundation](https://symfony.com/components/HttpFoundation) \ncomponent functionality in Symfony development environments.\n\n## Installation and configuration\nInstall this package using composer.\n\n`composer require coral-media/http-foundation`\n\nFor further configuration check following sections.\n\n## The EncryptedSessionProxy\nProvides session encrypting for our session handler. Example provided below shows how to implement it using `PdoSessionhandler`.\n\nAfter installation set up your `services.yaml` as follows:\n```yaml\n...\nSymfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\PdoSessionHandler:\n    arguments:\n        - '%env(resolve:DATABASE_URL)%'\nsession.handler.pdo:\n    alias: 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\PdoSessionHandler'\n\nCoralMedia\\Component\\HttpFoundation\\Session\\Storage\\Proxy\\EncryptedSessionProxy:\n    arguments:\n        - '@session.handler.pdo'\n        - '%env(resolve:SESSION_ENCRYPTION_KEY)%'\nsession.storage.proxy.encrypted:\n    alias: 'CoralMedia\\Component\\HttpFoundation\\Session\\Storage\\Proxy\\EncryptedSessionProxy'\n...\n```\n\nDont forget to add your configuration in `config/packages/framework.yaml`\n```yaml\nframework:\n...\n    session:\n        handler_id: session.storage.proxy.encrypted\n        cookie_secure: auto\n        cookie_samesite: lax\n        storage_factory_id: session.storage.factory.native\n        save_path: '%kernel.cache_dir%/sessions'\n...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoral-media%2Fhttp-foundation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoral-media%2Fhttp-foundation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoral-media%2Fhttp-foundation/lists"}