{"id":21959730,"url":"https://github.com/rusticisoftware/tincanphp","last_synced_at":"2025-04-04T11:14:07.398Z","repository":{"id":13727118,"uuid":"16421324","full_name":"RusticiSoftware/TinCanPHP","owner":"RusticiSoftware","description":"PHP library for the Experience API (Tin Can API)","archived":false,"fork":false,"pushed_at":"2024-04-10T19:58:05.000Z","size":2975,"stargazers_count":86,"open_issues_count":16,"forks_count":77,"subscribers_count":37,"default_branch":"master","last_synced_at":"2024-05-17T06:46:15.023Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://rusticisoftware.github.io/TinCanPHP/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RusticiSoftware.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":"2014-01-31T21:29:47.000Z","updated_at":"2024-06-18T12:31:07.680Z","dependencies_parsed_at":"2024-06-18T12:31:05.721Z","dependency_job_id":"06fdf85f-e140-47cf-b9d0-61292f71088a","html_url":"https://github.com/RusticiSoftware/TinCanPHP","commit_stats":{"total_commits":133,"total_committers":11,"mean_commits":"12.090909090909092","dds":0.6466165413533835,"last_synced_commit":"19acfc818fb5be97d23766d1e799bb2456be7b91"},"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RusticiSoftware%2FTinCanPHP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RusticiSoftware%2FTinCanPHP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RusticiSoftware%2FTinCanPHP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RusticiSoftware%2FTinCanPHP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RusticiSoftware","download_url":"https://codeload.github.com/RusticiSoftware/TinCanPHP/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247166168,"owners_count":20894654,"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-29T09:32:18.576Z","updated_at":"2025-04-04T11:14:07.378Z","avatar_url":"https://github.com/RusticiSoftware.png","language":"PHP","readme":"A PHP library for implementing the Experience API (Tin Can API).\n\n[![Build Status](https://travis-ci.org/RusticiSoftware/TinCanPHP.png)](https://travis-ci.org/RusticiSoftware/TinCanPHP)\n[![Latest Stable Version](https://poser.pugx.org/rusticisoftware/tincan/v/stable)](https://packagist.org/packages/rusticisoftware/tincan)\n[![License](https://poser.pugx.org/rusticisoftware/tincan/license)](https://packagist.org/packages/rusticisoftware/tincan)\n[![Total Downloads](https://poser.pugx.org/rusticisoftware/tincan/downloads)](https://packagist.org/packages/rusticisoftware/tincan)\n\nFor hosted API documentation, basic usage instructions, supported version listing, etc. visit the main project website at:\n\nhttp://rusticisoftware.github.io/TinCanPHP/\n\nFor more information about the Experience API visit:\n\nhttp://experienceapi.com/\n\nRequires PHP 5.5 or later. (If you must run something older you should look at the 0.x release series or the PHP_5_2 branch.)\n\n### Installation\n\nTinCanPHP is available via [Composer](http://getcomposer.org).\n\n```\nphp composer.phar require rusticisoftware/tincan:@stable\n```\n\nWhen not using Composer, require the autoloader:\n\n```php\nrequire 'path/to/TinCan/autoload.php';\n```\n\n### Testing\n\nTests are implemented using the latest stable version of PHPUnit. It will be installed when using Composer. Configure the LRS endpoint and credentials by copying the `tests/config/config.dist.php` to `tests/config/config.php` then setting the values for your LRS.\n\nOnce configured run:\n\n```\nvendor/bin/phpunit\n```\n\n### API Doc Generation\n\nDocumentation can be output using [phpDocumentor2](http://phpdoc.org). It will be installed when using Composer. To generate documentation:\n\n```\nvendor/bin/phpdoc\n```\n\nFrom the root of the repository after running `php composer.phar update`. Documentation will be output to `doc/api`.\n\nIf you do not have the default timezone set in your `php.ini` file you can create one in the base of the repo and use the `PHPRC` environment variable to point to it. Use something like:\n\n```\nexport PHPRC=\"/path/to/repos/TinCanPHP/php.ini\"\n```\n\nAnd set the timezone in that file using:\n\n```\n[PHP]\n\ndate.timezone = \"US/Central\"\n```\n\n### Certificate Generation\n\nThese instructions are for creating the requisite public/private key pair and certificate on a Mac with OpenSSL installed. See \u003chttps://www.openssl.org/docs/HOWTO/certificates.txt\u003e and \u003chttps://www.openssl.org/docs/HOWTO/keys.txt\u003e.\n\nGenerate a private key (which contains a public key) without a password (not recommended):\n\n    openssl genrsa -out privkey.pem 2048\n\nTo generate a private key with a password:\n\n    openssl genrsa -des3 -out privkey.pem 2048\n\nCreate a certificate signing request:\n\n     openssl req -new -key privkey.pem -out cert.csr\n\nTo create a self signed certificate (as opposed to one signed by a CA), primarily for testing purposes:\n\n    openssl req -new -x509 -key privkey.pem -out cacert.pem -days 1095\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frusticisoftware%2Ftincanphp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frusticisoftware%2Ftincanphp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frusticisoftware%2Ftincanphp/lists"}