Download the PHP package enceeper/enceeper-phpconf without Composer

On this page you can find all versions of the php package enceeper/enceeper-phpconf. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package enceeper-phpconf

Enceeper PHP Conf

Is a PHP package used for fetching keys from a user's Enceeper account. The main goal is to store configuration information in a key and have this information delivered to a PHP application (other uses are welcome 😀).

Introduction

The Enceeper app (https://github.com/enceeper/enceeper) and the Enceeper service (https://www.enceeper.com/) can be used to securely store and retrieve credentials (usernames, passwords, API keys etc). We wanted to extend this idea also to configuration files: securely store and deliver configuration information for PHP projects (and in the future other programming languages). The scenario is that an Enceeper app user can store a key to his account with configuration information in JSON format. This package will retrieve the encrypted JSON and return the decrypted information to be used as configuration. We also added a filesystem and Redis caching mechanisms to better utilize resources and gracefully handle errors.

We believe this approach has the following benefits:

The Enceeper app encrypts all the information prior to delivering them to the Enceeper service. This package receives the encrypted information for an entry and performs a local decryption using an entry-specific decryption key. This is an additional layer of security on top of TLS (HTTPS) for the network traffic.

Installation with Composer

Important notes

When using this package in production environments you have to take into account the following:

  1. For simplicity we provide a PHP implementation for scrypt (using SHA512). This implementation has the following limitations:
    • It requires PHP 64-bit, since PHP does not support unsigned integers
    • It runs very slow (about 20 times slower when compared to a C implementation for N=32768)
    • It requires memory so you will need to edit php.ini and set the memory_limit directive (about 400MB for N=32768)
    • We highly recommend you use the following: https://github.com/enceeper/scrypt and provide the path to the executable.
  2. We provide a caching mechanism utilizing the filesystem or Redis. You have to take into account the following:
    • For the Redis cache you need to have Redis installed (Redis server: https://redis.io and PHP Redis package: https://github.com/phpredis/phpredis)
    • For the filesystem cache you have to make sure that the script has write permissions to the target directory
    • For production systems it is recommended to utilize the batch mode strategy: STRATEGY_BATCH_MODE. You must also setup a job (i.e. crontab) to periodically update the cache contents
  3. We also recommend you have the internationalization extension installed (intl) that provides the Normalizer::normalize method in order to retrieve the NFKD form of the password and have consistent results across platforms and encodings (http://php.net/manual/en/normalizer.normalize.php)

Usage

Copyright and license

Copyright 2018 Vassilis Poursalidis. Released under GNU GPL3 or later - see the LICENSE file for details.


All versions of enceeper-phpconf with dependencies

PHP Build Version
Package Version
Requires php Version ^7.0
ext-openssl Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package enceeper/enceeper-phpconf contains the following files

Loading the files please wait ....