PHPackages                             lee/php-travis-encrypter - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. lee/php-travis-encrypter

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

lee/php-travis-encrypter
========================

The PHP wrapper generating travis-encrypted environment variables

1.0.1(8y ago)416[1 issues](https://github.com/peter279k/php-travis-encrypter/issues)MITPHPPHP &gt;=5.4.0

Since Oct 31Pushed 8y ago1 watchersCompare

[ Source](https://github.com/peter279k/php-travis-encrypter)[ Packagist](https://packagist.org/packages/lee/php-travis-encrypter)[ RSS](/packages/lee-php-travis-encrypter/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (5)Versions (3)Used By (0)

php-travis-encrypter
====================

[](#php-travis-encrypter)

[![StyleCI](https://camo.githubusercontent.com/67226e5a4db1d32e6bafcd3e13a5269e49d53c62c7ed00b38f6e2c191a3f045a/68747470733a2f2f7374796c6563692e696f2f7265706f732f3130393032303636322f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/109020662)[![Coverage Status](https://camo.githubusercontent.com/1ee2fa99dd98c42dcb3e4b5b4cdc7d2e224fcbbe9bd939236489485784687819/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f70657465723237396b2f7068702d7472617669732d656e637279707465722f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/peter279k/php-travis-encrypter?branch=master)[![Build Status](https://camo.githubusercontent.com/d4a8bdb783947834256019efb34a0c91d29b5d8b41ade94898f533dfa1edfee0/68747470733a2f2f7472617669732d63692e6f72672f70657465723237396b2f7068702d7472617669732d656e637279707465722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/peter279k/php-travis-encrypter)

Introduction
------------

[](#introduction)

The PHP API wrapper is to encrypt the travis-ci environment variables.

Usage
-----

[](#usage)

- Install the php-travis-encrypter via Composer.

```
composer require lee/php-travis-encrypter

```

- The sample code is as follows.

```
use Travis\Encrypter\Client;
use Travis\Encrypter\Encrypter;

$client = new Client('peter279k/php-travis-encrypter');
$result = $client->get();
$key = $result->getKey();
$encrypter = new Encrypter($key, 'name', 'value');
echo $encrypter->encrypt();
```

Unit testing
------------

[](#unit-testing)

- The project uses the PHPUnit to test the whole source code.
- Just clone this repo and run the following two commands:

```
composer install
phpunit

```

Contributing
------------

[](#contributing)

I appreciate the contribution.Here is the tips for contributing project.

- coding style: psr-2 (check coding style via StyleCI)
- add the some featues should add the mapped unit testing.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

3111d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/baa74b27c760b02871b04908382ae01967e7d7100c20144c71197cd680b99c98?d=identicon)[peter279k](/maintainers/peter279k)

---

Top Contributors

[![peter279k](https://avatars.githubusercontent.com/u/9021747?v=4)](https://github.com/peter279k "peter279k (29 commits)")

---

Tags

phpphp7travis-api

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lee-php-travis-encrypter/health.svg)

```
[![Health](https://phpackages.com/badges/lee-php-travis-encrypter/health.svg)](https://phpackages.com/packages/lee-php-travis-encrypter)
```

###  Alternatives

[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k17](/packages/civicrm-civicrm-core)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[dhlparcel/magento2-plugin

DHL Parcel plugin for Magento 2

11180.5k2](/packages/dhlparcel-magento2-plugin)[shopware/app-php-sdk

Shopware App SDK for PHP

1577.8k1](/packages/shopware-app-php-sdk)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
