{"id":26566282,"url":"https://github.com/code-soup/certify-client","last_synced_at":"2026-05-07T17:39:57.582Z","repository":{"id":42491138,"uuid":"477242666","full_name":"code-soup/certify-client","owner":"code-soup","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-02T06:48:34.000Z","size":62,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-19T22:41:26.541Z","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/code-soup.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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,"zenodo":null}},"created_at":"2022-04-03T05:01:09.000Z","updated_at":"2024-06-08T13:57:59.000Z","dependencies_parsed_at":"2025-06-19T22:43:55.531Z","dependency_job_id":null,"html_url":"https://github.com/code-soup/certify-client","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"009dd28750310896c757682bc83aa9a75b0ee757"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/code-soup/certify-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-soup%2Fcertify-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-soup%2Fcertify-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-soup%2Fcertify-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-soup%2Fcertify-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/code-soup","download_url":"https://codeload.github.com/code-soup/certify-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-soup%2Fcertify-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32749499,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2025-03-22T18:20:06.743Z","updated_at":"2026-05-07T17:39:57.568Z","avatar_url":"https://github.com/code-soup.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Certify Client\n\nA license management and verification solution for commercial WordPress plugins.\n\n## Description\n\nThe Certify Client is a composer package that provides a license activation and verification solution for custom WordPress plugins.\nIn order to use Certify Client, you must have the Certify Server installed on your server.\n\nCertify Server is a free WordPress plugin which enables you to manage licenses for your custom WordPress plugins and provides custom update repository to handle plugin updates.\n\n## Features\n\n-   Verify license keys issued by the Certify Server\n-   Integrate license verification into your plugin with ease, using our simple and intuitive API\n-   Limit number of activations per license\n-   Generate license for multiple plugins\n-   Integrated with [Paddle.com](https://www.paddle.com) subscriptions\n\n## Requirements\n\n-   PHP \u003e= 8.2\n-   Composer\n-   [Certify Server](https://github.com/code-soup/certify) installed on your server\n\n## Setup\n\n1. Install composer package\n\n```bash\ncomposer require code-soup/certify-client\n```\n\n2. Initialise Certify Client class\n\n```php\n$certify = \\CodeSoup\\CertifyClient\\Init::get_instance();\n$certify-\u003einit([\n    'plugin_id'             =\u003e 'my-plugin-folder-name',\n    'plugin_version'        =\u003e '0.0.1',\n    'cache_allowed'         =\u003e true,\n    'certify_server_origin' =\u003e 'https://my.website.com',\n    'license_key'           =\u003e '12345-12345-12345-12345-12345'\n]);\n```\n\n### Configuration Options\n\n---\n\nThe `init` method takes an array of configuration options, which are used to configure the plugin. The following options are available:\n\n-   `plugin_id`: The folder name of your plugin (e.g., `my-plugin-folder-name`).\n-   `plugin_version`: The version of your plugin (e.g., `0.0.1`).\n-   `cache_allowed`: A boolean indicating whether caching is allowed (default: `true`). This saves certify server response in transient which expires each day. This way only 1 request per day is made to your server\n-   `certify_server_origin`: The origin URL of the Certify server (e.g., `https://my.website.com`).\n-   `license_key`: The license key for your plugin (e.g., `12345-12345-12345-12345-12345`).\n\n## Validate License Key\n\n---\n\nYou can then simply validate license key against certify server:\n\n```php\n$certify-\u003evalidate();\n```\n\nResponse:\n\n```json\n{\n\t\"valid\": true,\n\t\"expiry\": 1748995200\n}\n```\n\n-   `valid`: Days left to expire \u003e 0 AND activations limit is not yet reached. This would also mean that user is allowed to install plugin update.\n-   `expiry`: Timestamp when key is about to expire\n\nIn case of any error following is returned:\n\n```json\n{\n\t\"valid\": false,\n\t\"expiry\": 0\n}\n```\n\n## Issues\n\nPlease use [Github issues](https://github.com/code-soup/certify-client/issues) to submit any bugs you may find.\n\n## License\n\nThis project is licensed under the [GPL license](http://www.gnu.org/licenses/gpl-3.0.txt).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-soup%2Fcertify-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcode-soup%2Fcertify-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-soup%2Fcertify-client/lists"}