Download the PHP package kukharenko/env-manager without Composer

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

Env Replacer

Overview

Env Replacer is a powerful tool for managing environment files across multiple projects. It simplifies the process of switching between different environment configurations, ensuring consistency and reducing the risk of errors.

Installation

To install Env Replacer globally using Composer, run the following command:

Follow after install instructions:

Verify Installation Path

Ensure that vendor/bin is added to your PATH environment variable. You can check this by running:

If vendor/bin is not included, you need to add it manually:

Edit your ~/.zshrc and ~/.bash_profile files:

Add the following line:

Apply the Changes

After editing the respective files, apply the changes by sourcing them:

Usage

Env Replacer provides several options to manage your environment files efficiently:

Options

Example Command

Show current project configuration:

To replace environment files for all projects, run the following command:

To replace environment files for the case-service, run the following command:

To restore the previous .env file for case-service, run the following command:

Env files

By default, project .env files are stored in the /Users/yourusername/env-replacer/concrete directory. You can create a new configuration file, such as test.env, and then use it as follows:

or shorter:

This command will replace the existing .env file in every service with a merged version of base.env and test.env.

Custom services

To override variables for specific service, create service-name.env file in the /Users/yourusername/env-replacer/projects directory with variables you want to add.

License

Env Replacer is open-source software licensed under the MIT license.


By following the above steps, you should be able to easily install and use Env Replacer to manage your environment configurations across multiple projects efficiently.


All versions of env-manager with dependencies

PHP Build Version
Package Version
Requires php Version 8.*.*
vlucas/phpdotenv Version ^5.6
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 kukharenko/env-manager contains the following files

Loading the files please wait ....