{"id":21561468,"url":"https://github.com/phpdude/dudecookie","last_synced_at":"2025-10-04T14:14:55.155Z","repository":{"id":138193786,"uuid":"2113777","full_name":"phpdude/DudeCookie","owner":"phpdude","description":"PHP Cookie helper class","archived":false,"fork":false,"pushed_at":"2011-09-24T18:34:00.000Z","size":98,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T04:43:20.011Z","etag":null,"topics":[],"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/phpdude.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":"2011-07-27T16:07:45.000Z","updated_at":"2013-10-07T14:46:55.000Z","dependencies_parsed_at":"2023-03-12T06:45:51.215Z","dependency_job_id":null,"html_url":"https://github.com/phpdude/DudeCookie","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/phpdude/DudeCookie","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpdude%2FDudeCookie","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpdude%2FDudeCookie/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpdude%2FDudeCookie/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpdude%2FDudeCookie/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phpdude","download_url":"https://codeload.github.com/phpdude/DudeCookie/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpdude%2FDudeCookie/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278322146,"owners_count":25967874,"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-04T02:00:05.491Z","response_time":63,"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":[],"created_at":"2024-11-24T09:22:57.827Z","updated_at":"2025-10-04T14:14:55.139Z","avatar_url":"https://github.com/phpdude.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DudeCookie Project.\n\n_Note: php5 only_\n\n\u003cp\u003eCookie manager helper class. Provides you simple but powerfull cookie management for your project. It synchronize internal $_COOKIE array with functions for cookies management, it allows you in your code make situations like:\u003c/p\u003e\n\n\u003cpre\u003e\u003ccode\u003e$cookie = new Dude_Cookie();\n...\nif($user)\n{\n    $cookie-\u003euserid = $user['id'];\n    $cookie-\u003euserautologinhash = $user['uidhash'];\n}\n....\n\nif($cookie-\u003euserid \u0026\u0026 $maAwesomeUsersmanager-\u003eprocessAutologin($_COOKIE['userautologinhash'])) { ..}\u003c/code\u003e\u003c/pre\u003e\n\n\u003cp\u003eAnd don't think about saving setted cokies into $_COOKIE array or delete them wneh you delete something.\u003c/p\u003e\n\nBasic features\n\n-  OOP PHP5 Code and features\n-  ArrayAccess class implementation: unset($cookie[$cookname])\n-  Default cookies configuration via setters/getters\n-  Synchronization $_COOKIE variable with setcookie() calls.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphpdude%2Fdudecookie","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphpdude%2Fdudecookie","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphpdude%2Fdudecookie/lists"}