Download the PHP package linkorb/envoi without Composer

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

envoi

Envoi aims to ease the use and documentation of environment variables (env vars) in PHP applications.

Envoi features:

Envoi sports a console command which validates a .env file against a schema (by convention, .env.yaml). It also provides checkers that, when invoked early in the start-up phase of an application, will halt an application which doesn't have a complete and valid set of env vars.

Install

Use

Env Checkers

A checker should be invoked as early as possible in the life-cycle of an application. The ideal time is immediately after the environment has been populated with env vars. For example, in a Symfony-based app, the checker should be invoked right after the Dotenv component has loaded the env vars from the various .env* files:

The checker will throw an exception to halt the application when invalid env vars are found. The list of validation errors is included in the exception message.

EnvChecker treats the environment as immutable: it validates env vars, but does not modify them. MutableEnvChecker validates env vars and can also transform values, making it the ideal checker when you want to take advantage of the various env var transformation features of Envoi.

Interpolation

Assign one variable based on another in .env file

Metadata environment example .env.yaml Supports types: int, string, url, path

Init environment variables from .env

CLI

Available commands:

validate Validate based on meta file .env.yaml.
configure CLI wizard to ask + update .env file based on .env.yaml.
markdown Output a GitHub Flavored Markdown documentation for the available variables. Look for a <!-- envoi start --> and <!-- envoi end --> tags in file (default to README.md), and insert/update the generated markdown between those tags.

Run tests

Contributing

We welcome contributions to make this repository even better. Whether it's fixing a bug, adding a feature, or improving documentation, your help is highly appreciated. To get started, fork this repository then clone your fork.

Be sure to familiarize yourself with LinkORB's code of conduct before submitting any changes.

If you are unable to implement changes you like yourself, don't hesitate to open a new issue report so that we or others may take care of it.

Brought to you by the LinkORB Engineering team


Check out our other projects at linkorb.com/engineering. By the way, we're hiring!


All versions of envoi with dependencies

PHP Build Version
Package Version
Requires php Version ^7.1 || ^8.0
symfony/dotenv Version ^3.0|^4.0|^5.0|^6.0
symfony/yaml Version ^3.0|^4.0|^5.0|^6.0
symfony/console Version ^3.0|^4.0|^5.0|^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 linkorb/envoi contains the following files

Loading the files please wait ....