2017 © Pedro Peláez
 

library php-travis-encrypter

The PHP wrapper generating travis-encrypted environment variables

image

lee/php-travis-encrypter

The PHP wrapper generating travis-encrypted environment variables

  • Friday, November 3, 2017
  • by peter279k
  • Repository
  • 1 Watchers
  • 3 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

php-travis-encrypter

StyleCI Coverage Status Build Status, (*1)

Introduction

The PHP API wrapper is to encrypt the travis-ci environment variables., (*2)

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

  • The project uses the PHPUnit to test the whole source code., (*3)

  • Just clone this repo and run the following two commands:, (*4)

composer install
phpunit

Contributing

I appreciate the contribution.Here is the tips for contributing project., (*5)

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

The Versions

03/11 2017

dev-master

9999999-dev

The PHP wrapper generating travis-encrypted environment variables

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar peter279k

01/11 2017

1.0.1

1.0.1.0

The PHP wrapper generating travis-encrypted environment variables

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar peter279k

31/10 2017

1.0.0

1.0.0.0

The PHP wrapper generating travis-encrypted environment variables

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar peter279k