{"id":21931311,"url":"https://github.com/themeplate/compatibility","last_synced_at":"2026-03-02T10:31:33.182Z","repository":{"id":65543298,"uuid":"593254653","full_name":"ThemePlate/Compatibility","owner":"ThemePlate","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-07T04:45:29.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-07T05:27:15.276Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ThemePlate.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-25T15:41:43.000Z","updated_at":"2025-03-07T04:45:03.000Z","dependencies_parsed_at":"2024-03-13T14:49:16.994Z","dependency_job_id":"bb149f89-ee03-49d3-9562-42b1361e823e","html_url":"https://github.com/ThemePlate/Compatibility","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThemePlate%2FCompatibility","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThemePlate%2FCompatibility/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThemePlate%2FCompatibility/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThemePlate%2FCompatibility/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ThemePlate","download_url":"https://codeload.github.com/ThemePlate/Compatibility/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244959454,"owners_count":20538628,"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":[],"created_at":"2024-11-28T23:13:29.836Z","updated_at":"2026-03-02T10:31:33.122Z","avatar_url":"https://github.com/ThemePlate.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ThemePlate Compatibility\n\n## Usage\n\n```php\nuse ThemePlate\\Compatibility;\n\n( new Compatibility( '6.0', '8.0' ) )-\u003esetup( 'My Project' );\n```\n\n### Custom messages\n\n```php\nuse ThemePlate\\Compatibility;\n\n$compatibility = new Compatibility( '5.0', '5.6' );\n\n/* translators: %s package name */\n$compatibility-\u003emessage_header( 'Sorry! %s is not compatible.' );\n/* translators: 1. required version, 2. installed version */\n$compatibility-\u003emessage_wp( __( 'Requires WP %1$s or higher but currently running at %2$s', 'custom_domain' ) );\n/* translators: 1. required version, 2. installed version */\n$compatibility-\u003emessage_php( __( 'Requires PHP %1$s or higher but currently running at %2$s', 'custom_domain' ) );\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthemeplate%2Fcompatibility","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthemeplate%2Fcompatibility","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthemeplate%2Fcompatibility/lists"}