{"id":21680940,"url":"https://github.com/mooxphp/press-wp","last_synced_at":"2025-10-19T10:48:01.024Z","repository":{"id":230020456,"uuid":"778252202","full_name":"mooxphp/press-wp","owner":"mooxphp","description":"[READ-ONLY] WordPress Plugin for Moox Press","archived":false,"fork":false,"pushed_at":"2025-02-07T12:40:02.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-07T13:39:35.879Z","etag":null,"topics":["filament","laravel","php","wordpress","wordpress-plugin"],"latest_commit_sha":null,"homepage":"https://moox.org","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/mooxphp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-27T11:22:29.000Z","updated_at":"2025-02-07T12:40:06.000Z","dependencies_parsed_at":"2025-02-07T13:33:49.280Z","dependency_job_id":"31cbd2f7-a4ca-4c1d-8e6a-bb64145bbfd5","html_url":"https://github.com/mooxphp/press-wp","commit_stats":null,"previous_names":["mooxphp/press-wp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mooxphp%2Fpress-wp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mooxphp%2Fpress-wp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mooxphp%2Fpress-wp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mooxphp%2Fpress-wp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mooxphp","download_url":"https://codeload.github.com/mooxphp/press-wp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244594675,"owners_count":20478329,"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":["filament","laravel","php","wordpress","wordpress-plugin"],"created_at":"2024-11-25T15:22:44.375Z","updated_at":"2025-10-19T10:48:00.947Z","avatar_url":"https://github.com/mooxphp.png","language":"PHP","readme":"# Moox Press WordPress Plugin\n\nThis is work in progress. Do not install on production!\n\nThe Moox WordPress Plugin is meant to be installed as companion for Moox Press.\n\nIt handles the Auth-Flow.\n\n## Some unsorted docs:\n\n### Features\n\n-   Synchronized users between Laravel and WordPress by using the wp_users table as Authenticatable Model in Laravel\n-   Filament User Resource for the WpUser Model allowing to manage users in Laravel\n-   SSO for Laravel and WordPress with an improved and configurable Auth-Flow\n-   Shared dotenv variables\n\n### Config or env values\n\n...\n\n### Security\n\nHashing and Encoding:\nThe user ID is base64 encoded and then hashed using HMAC with SHA-256, using the APP_KEY as the secret key. This creates a secure signature that can be verified by the receiving end.\nToken Structure:\nThe token is structured as base64_encoded_user_id.signature, where the signature is the HMAC hash of the base64 encoded user ID. This structure allows for easy parsing and verification.\nSecurity Consideration:\nIt's important to use hash_equals for comparing the expected signature with the received signature to prevent timing attacks.\nThis approach securely transmits the user ID without sending it in plain text and ensures that only the intended recipient, who has the secret key, can verify the authenticity of the token.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmooxphp%2Fpress-wp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmooxphp%2Fpress-wp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmooxphp%2Fpress-wp/lists"}