Download the PHP package nickpoulos/ez-rider without Composer

On this page you can find all versions of the php package nickpoulos/ez-rider. 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 ez-rider

Build Status Total Downloads Latest Stable Version License

EzRider is a php-cli command (packaged as a PHAR) that provides an easy way to generate Docker Compose Override files for your applications.

Many times your application may require secrets or other sensitive information, perhaps even randomly generated data. By including certain annotations in your Docker Compose files, Ez-Rider will fetch/generate this data, and write the proper override file automatically.

You can think of this as akin to Vault annotations in K8s/Helm, which was an inspiration for this package and its annotation syntax.

Created and maintained by Nick Poulos


Development


Requirements

  1. PHP 8.0+ installed on your system: Install Instructions
  2. Make sure YAML PECL Extension is also installed: brew install libyaml && pecl install yaml
  3. Install Composer globally: brew install composer
  4. Ensure Composer's bin folder is in your $PATH: export PATH=$PATH:$HOME/.composer/vendor/bin

Quick Start

  1. Install this package globally via Composer, NOT from within your project source

  2. In your project's Docker Compose file, create a service containing an environment variable using the syntax below:

docker-compose.yml

  1. In your project's root folder (or wherever docker-compose.yml is located), run:

This command accepts an optional config file argument. This is useful when multiple mappings or customized docker-compose.yml filenames are required.

The default config below will be used when no config file argument is given.

  1. The command will map the appropriate variables and generate your docker-compose.overrides.yml file.

  2. The config file can be committed as part of source control with your repo, and contains a simple array of input/output mappings:

Vault Plugin

The HashiCorp Vault Plugin connects to Vault servers via API. It requires a Vault Base Url and Token to operate.

The plugin will prompt you for this info and is cached for subsequent calls.

If you have either of the following environment vars set, the prompt is skipped and these values used.

For example:

See the annotation syntax in Step 2 above.

Random Generator

The random generator provides a few ways to generate some random data in your Docker Compose file. There are methods for random string, random integer, and random element from array.

Laravel App Key Generator

This plugin will generate a Base64 encoded Laravel Application Key.

RSA Key/Pair Generator

This plugin generates an RSA key/pair, and is suitable for things like Laravel Passport keys and other use cases.

You can choose to use the public or private key, as well as provide arguments for key length and a "label" for the key/value pair. If you only have one key value pair in your env, the label argument is not needed. Key length is also optional and will default to 4096.

See the annotation syntax in Step 2 above.

License

EzRider is an open-source software licensed under the MIT license.


All versions of ez-rider with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
ext-yaml Version *
composer/composer Version ^2.1
guzzlehttp/guzzle Version ^7.4
guzzlehttp/psr7 Version ^2.1
illuminate/http Version ^9.0
laminas/laminas-text Version ^2.8
laravel-zero/phar-updater Version ^1.0.6
phpseclib/phpseclib Version ~3.0
wilderborn/partyline Version ^1.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 nickpoulos/ez-rider contains the following files

Loading the files please wait ....