{"id":15029648,"url":"https://github.com/00f100/fcphp-session","last_synced_at":"2026-02-19T10:32:47.378Z","repository":{"id":56894022,"uuid":"139280666","full_name":"00F100/fcphp-session","owner":"00F100","description":"Package to manipulate Session","archived":false,"fork":false,"pushed_at":"2018-08-04T15:59:49.000Z","size":20,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-13T04:29:45.388Z","etag":null,"topics":["fcphp","fcphp-session","php7","php72","session"],"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/00F100.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":"2018-06-30T21:17:03.000Z","updated_at":"2019-03-27T16:47:31.000Z","dependencies_parsed_at":"2022-08-21T01:20:18.070Z","dependency_job_id":null,"html_url":"https://github.com/00F100/fcphp-session","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/00F100/fcphp-session","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/00F100%2Ffcphp-session","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/00F100%2Ffcphp-session/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/00F100%2Ffcphp-session/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/00F100%2Ffcphp-session/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/00F100","download_url":"https://codeload.github.com/00F100/fcphp-session/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/00F100%2Ffcphp-session/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279109219,"owners_count":26105716,"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","status":"online","status_checked_at":"2025-10-15T02:00:07.814Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["fcphp","fcphp-session","php7","php72","session"],"created_at":"2024-09-24T20:11:16.433Z","updated_at":"2025-10-15T19:46:01.147Z","avatar_url":"https://github.com/00F100.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FcPhp Session\n\nPackage to manipulate Session\n\n[![Build Status](https://travis-ci.org/00F100/fcphp-session.svg?branch=master)](https://travis-ci.org/00F100/fcphp-session) [![codecov](https://codecov.io/gh/00F100/fcphp-session/branch/master/graph/badge.svg)](https://codecov.io/gh/00F100/fcphp-session) [![Total Downloads](https://poser.pugx.org/00F100/fcphp-session/downloads)](https://packagist.org/packages/00F100/fcphp-session)\n\n## How to install\n\nComposer:\n```sh\n$ composer require 00f100/fcphp-session\n```\n\nor add in composer.json\n```json\n{\n    \"require\": {\n        \"00f100/fcphp-session\": \"*\"\n    }\n}\n```\n\n## How to use\n\n```php\n\nuse FcPhp\\Session\\Facades\\SessionFacade;\n\n/**\n * Method to return instance of Session \n *\n * @param array $cookies Cookies default\n * @param string $nonce Nonce to use 00f100/fcphp-crypto\n * @param string $pathKeys Path to save crypto-keys\n * @return void\n */\nSessionFacade::getInstance(array $cookies, string $nonce = null, string $pathKeys = null);\n\n\n// Start session and load cache\n\n$nonce = '...';\n$pathKeys = 'var/crypto/keys';\n\n// Use Cache into file\n$sessionFile = SessionFacade::getInstance($_COOKIE, $nonce, $pathKeys);\n\n// Create new configuration\n$sessionRedis-\u003eset('item.config', 'value');\n\n// Print: value\necho $sessionRedis-\u003eget('item.config');\n\n/*\nReturn: \nArray (\n    'item' =\u003e Array(\n        'config' =\u003e 'value'\n    )\n)\n*/\nprint_r($sessionRedis-\u003eget());\n\n// Save into Cookie\n$sessionRedis-\u003ecommit();\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F00f100%2Ffcphp-session","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F00f100%2Ffcphp-session","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F00f100%2Ffcphp-session/lists"}