{"id":15987569,"url":"https://github.com/peter279k/php-travis-encrypter","last_synced_at":"2025-05-07T06:46:39.473Z","repository":{"id":57013487,"uuid":"109020662","full_name":"peter279k/php-travis-encrypter","owner":"peter279k","description":"The PHP wrapper generating travis-encrypted environment variables","archived":false,"fork":false,"pushed_at":"2017-11-03T19:31:18.000Z","size":35,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-07T06:46:35.979Z","etag":null,"topics":["php","php7","travis-api"],"latest_commit_sha":null,"homepage":null,"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/peter279k.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":"2017-10-31T16:10:05.000Z","updated_at":"2022-02-12T14:30:54.000Z","dependencies_parsed_at":"2022-08-21T15:10:41.685Z","dependency_job_id":null,"html_url":"https://github.com/peter279k/php-travis-encrypter","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/peter279k%2Fphp-travis-encrypter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter279k%2Fphp-travis-encrypter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter279k%2Fphp-travis-encrypter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter279k%2Fphp-travis-encrypter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peter279k","download_url":"https://codeload.github.com/peter279k/php-travis-encrypter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252831178,"owners_count":21810779,"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":["php","php7","travis-api"],"created_at":"2024-10-08T03:40:32.359Z","updated_at":"2025-05-07T06:46:39.453Z","avatar_url":"https://github.com/peter279k.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# php-travis-encrypter\n\n[![StyleCI](https://styleci.io/repos/109020662/shield?branch=master)](https://styleci.io/repos/109020662)\n[![Coverage Status](https://coveralls.io/repos/github/peter279k/php-travis-encrypter/badge.svg?branch=master)](https://coveralls.io/github/peter279k/php-travis-encrypter?branch=master)\n[![Build Status](https://travis-ci.org/peter279k/php-travis-encrypter.svg?branch=master)](https://travis-ci.org/peter279k/php-travis-encrypter)\n\n## Introduction\n\nThe PHP API wrapper is to encrypt the travis-ci environment variables.\n\n## Usage\n\n- Install the php-travis-encrypter via Composer.\n\n```\ncomposer require lee/php-travis-encrypter\n```\n\n- The sample code is as follows.\n\n```php\nuse Travis\\Encrypter\\Client;\nuse Travis\\Encrypter\\Encrypter;\n\n$client = new Client('peter279k/php-travis-encrypter');\n$result = $client-\u003eget();\n$key = $result-\u003egetKey();\n$encrypter = new Encrypter($key, 'name', 'value');\necho $encrypter-\u003eencrypt();\n```\n\n## Unit testing\n\n- The project uses the PHPUnit to test the whole source code.\n\n- Just clone this repo and run the following two commands:\n\n```\ncomposer install\nphpunit\n```\n\n## Contributing\n\nI appreciate the contribution.Here is the tips for contributing project.\n\n- coding style: psr-2 (check coding style via StyleCI)\n- add the some featues should add the mapped unit testing.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeter279k%2Fphp-travis-encrypter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeter279k%2Fphp-travis-encrypter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeter279k%2Fphp-travis-encrypter/lists"}