{"id":18982379,"url":"https://github.com/defactosoftware/capp-sdk-php","last_synced_at":"2025-11-10T17:03:22.317Z","repository":{"id":10959059,"uuid":"13271573","full_name":"DefactoSoftware/capp-sdk-php","owner":"DefactoSoftware","description":"A SDK to quickly build webapps on the CAPP platform in PHP.","archived":false,"fork":false,"pushed_at":"2015-06-15T08:41:35.000Z","size":229,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":26,"default_branch":"develop","last_synced_at":"2025-01-01T11:42:26.266Z","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/DefactoSoftware.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":"2013-10-02T13:22:05.000Z","updated_at":"2014-09-08T10:08:07.000Z","dependencies_parsed_at":"2022-09-23T01:03:05.918Z","dependency_job_id":null,"html_url":"https://github.com/DefactoSoftware/capp-sdk-php","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DefactoSoftware%2Fcapp-sdk-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DefactoSoftware%2Fcapp-sdk-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DefactoSoftware%2Fcapp-sdk-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DefactoSoftware%2Fcapp-sdk-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DefactoSoftware","download_url":"https://codeload.github.com/DefactoSoftware/capp-sdk-php/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239987010,"owners_count":19729725,"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-08T16:13:17.635Z","updated_at":"2025-11-10T17:03:22.228Z","avatar_url":"https://github.com/DefactoSoftware.png","language":"PHP","readme":"# CAPP SDK for PHP\n\nThis is a PHP SDK to quickly build PHP webapps on the CAPP platform. It currently contains two classes. Both of them have a test page.\n\n## API - capp_api_calls.php\n\nWrapper class for the CAPP API. Ask Defacto to whitelist your IP adress for API usage and to generate a passphrase. Instantiate class with API base URL, passphrase and username for the user to impersonate. See capp_api_test_page.php for usage example and test page.\n\n\n## SSO - capp_sso.php\n\nClass to offer Single Sign-On with CAPP. You need composer to resolve dependencies:\n\n```bash\n$ curl -sS https://getcomposer.org/installer | php\n$ php composer.phar install\n```\n\nInstantiate class with CAPP url and OAuth secret. Call the login method with a users username to redirect the user to CAPP. See capp_sso_test_page.php for usage example and test page. CAPP administrators can generate an OAuth secret in CAPP on the \u003ccapp-url\\\u003e/EditSystemAppSettings.aspx page.\n\n\n## Maintainence\n\nAdhere to [PSR-1](http://www.php-fig.org/psr/psr-1/) and [PSR-2](http://www.php-fig.org/psr/psr-2/) coding style.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefactosoftware%2Fcapp-sdk-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdefactosoftware%2Fcapp-sdk-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefactosoftware%2Fcapp-sdk-php/lists"}