Download the PHP package bearcodi/docker-secrets-exposer without Composer

On this page you can find all versions of the php package bearcodi/docker-secrets-exposer. 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 docker-secrets-exposer

Docker Secrets Expander

Build Status laravel5.7 php7

A drop in package when using Laravel in a Docker Swarm setup and wanting to expand docker secrets easily.

But why?

Write a blurb about why you would want to use this, and why the value isn't just replaced or cached....security yo!!!

Installation

Hey, we all like composer here right??

Laravel setup

Its 2018, and Laravel is fun to dev packages for, is already setup!!!

Non Laravel projects

Hmmmm, need to think about this for Code Igniter.

Usage

Within you .env file, or from you docker-compose.yml stack file using environment variables, define your secret prefixing it with dockersecrets:// DSN.

IMPORTANT If you are using a docker secret in your code not in a string context (ie. array key lookup) either cast it to a string (string) config("CONFIG_KEY") or use the expose() method on the return value as it is an instance of Bearcodi\DockerSecrets\Secret

The secret is then parsed and replaced with the Secret handler, when evalutated in a string usage the secret file value is returned on demand without exposing it in your applications environment.

Laravel environment key exclusions

Key Reason for exclusion
DB_CONNECTION The value is used in an array key lookup when establishing the database connection driver, see array key lookups

All versions of docker-secrets-exposer with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6.0
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 bearcodi/docker-secrets-exposer contains the following files

Loading the files please wait ....