{"id":23383761,"url":"https://github.com/mdwheele/incommon","last_synced_at":"2025-04-08T09:57:50.570Z","repository":{"id":15945270,"uuid":"18687611","full_name":"mdwheele/incommon","owner":"mdwheele","description":"PHP Client for InCommon Certificate Manager SSL Web Service API","archived":false,"fork":false,"pushed_at":"2014-09-04T12:21:00.000Z","size":236,"stargazers_count":0,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-14T06:52:28.463Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mdwheele.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":"2014-04-11T20:22:54.000Z","updated_at":"2014-09-04T12:19:51.000Z","dependencies_parsed_at":"2022-09-22T14:41:00.167Z","dependency_job_id":null,"html_url":"https://github.com/mdwheele/incommon","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdwheele%2Fincommon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdwheele%2Fincommon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdwheele%2Fincommon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdwheele%2Fincommon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdwheele","download_url":"https://codeload.github.com/mdwheele/incommon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247819948,"owners_count":21001394,"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-12-21T22:29:47.550Z","updated_at":"2025-04-08T09:57:50.533Z","avatar_url":"https://github.com/mdwheele.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"InCommon CM SSL Web Service Client\n===\n\nPHP Client for InCommon Certificate Manager SSL Web Service API\n\n[![Latest Stable Version](https://poser.pugx.org/mdwheele/incommon/v/stable.png)](https://packagist.org/packages/mdwheele/incommon)\n[![Total Downloads](https://poser.pugx.org/mdwheele/incommon/downloads.png)](https://packagist.org/packages/mdwheele/incommon)\n[![License](https://poser.pugx.org/mdwheele/incommon/license.png)](https://packagist.org/packages/mdwheele/incommon)\n\n__Notice: This an alpha-quality software at the moment. Do NOT use in production anything!!__\n\nThis client provides an abstracted access layer on top of the InCommon Certificate Manager SSL SOAP Web\nService.\n\n## Goals\n\n* Create a \"barrier\" between client applications and the InCommon CM API so that changes do not affect clients.\n* Normalize required command-formats and responses to be more user-story driven, rather than mechanical.\n\nThis package is compliant with [PSR-1][], [PSR-2][] and [PSR-4][]. If you\nnotice compliance oversights, please send a patch via pull request.\n\n[PSR-1]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md\n[PSR-2]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md\n[PSR-4]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader.md\n\n## Install\n\nVia Composer\n\n``` json\n{\n    \"require\": {\n        \"mdwheele/incommon\": \"0.1.*\"\n    }\n}\n```\n\n## Requirements\n\nThe following versions of PHP are supported by this version.\n\n* PHP 5.3\n* PHP 5.4\n* PHP 5.5\n\n## Documentation\n\nI will have much more documentation coming soon.  Until then, this is basically it.\n\n``` php\n// Create new InCommon API client.\n$incommon = new InCommon();\n\n// Submit a CSR.\ntry {\n    $response = $incommon-\u003ecerts-\u003eenroll(...args);\n}\ncatch (InvalidUsernameException $e) {\n    // Handle business.\n}\n\n...\n\n// Check status of request.\n$sslId = $response-\u003egetSSLID();\n\ntry {\n    $response = $incommon-\u003ecerts-\u003egetCollectStatus(...args, $sslId);\n}\ncatch (PermissionDeniedException $e) {\n    // Handle business.\n}\n\nif ($response-\u003egetStatus() == SSLCollectResponse::BEING_PROCESSED_BY_COMODO) {\n    echo \"Still waiting for Comodo!\";\n}\n\n```\n\n## Todo\n\n- [ ] Implement public Certs API 1:1 with CM Service Docs.\n- [ ] Clean up public API to be more helpful.\n- [ ] Clean up response / command formats.\n- [ ] Implement full testing suite based on [PHP-VCR](https://github.com/php-vcr/php-vcr) so that production SOAP service is not required.\n\n## Testing\n\n``` bash\n$ phpunit\n```\n\n## Contributing\n\nContributions are **welcome** and will be fully **credited**.\n\nWe accept contributions via Pull Requests on [Github](https://github.com/mdwheele/incomon).\n\n## Pull Requests\n\n- **[PSR-2 Coding Standard](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md)** - The easiest way to apply the conventions is to install [PHP Code Sniffer](http://pear.php.net/package/PHP_CodeSniffer).\n\n- **Add tests!** - Your patch won't be accepted if it doesn't have tests.\n\n- **Document any change in behaviour** - Make sure the README and any other relevant documentation are kept up-to-date.\n\n- **Consider our release cycle** - We try to follow semver. Randomly breaking public APIs is not an option.\n\n- **Create topic branches** - Don't ask us to pull from your master branch.\n\n- **One pull request per feature** - If you want to do more than one thing, send multiple pull requests.\n\n- **Send coherent history** - Make sure each individual commit in your pull request is meaningful. If you had to make multiple intermediate commits while developing, please squash them before submitting.\n\n## Running Tests\n\n``` bash\n$ phpunit\n```\n\n**Happy coding**!\n\n## Credits\n\n- [Phil Sturgeon](https://github.com/philsturgeon) for documentation format. Stole!\n\n## License\n\nThe MIT License (MIT). Please see [License File](https://github.com/mdwheele/incommon/blob/master/LICENSE) for more information.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdwheele%2Fincommon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdwheele%2Fincommon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdwheele%2Fincommon/lists"}