Download the PHP package fadllabanie/env-editor without Composer

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

EnvEditor

Version Features
V.1 Edit env file

EnvEditor is a Laravel package that allows you to easily view and edit your .env file through a web interface.

Features

Installation

Follow these steps to install the package into your Laravel project:

  1. Install the package via Composer:

  2. Publish the package configuration and views:

This will create the config/env-editor php file and publish the views required for the UI.

  1. Add the following environment variables to your .env file:

  2. Optionally, update the configuration in config/env-editor php to customize the username, password, and IPs restrictions.

Usage

  1. Access the EnvEditor Interface: Visit the route /env-editor/login to log in and access the interface.

  2. Authentication: Use the username and password specified in the .env file (or the default ones set in config/env-editor.php).

  3. Edit .env File: Once authenticated, you can view the current .env file, modify existing variables, or add new key-value pairs.

  4. Logout: You can log out from the interface at any time using the logout button.

Security

  1. IP Restriction: You can restrict access by IP using the ENV_EDITOR_WHITE_IPS_LIST environment variable. Add a comma-separated list of allowed IP addresses.

  2. Session Time: The session expires after 2 minutes by default.

Configuration

After publishing the configuration file, you can modify the following settings in config/env-editor.php:

Clearing Config Cache

you make changes to the .env file or config/env-editor.php, make sure to clear the config cache to reflect the updates:

License

This package is open-source and licensed under the MIT License.

How to Use This:

  1. Copy the text to a README.md file in the root of your package directory.
  2. Customize any parts (like the IPs, username, or password) according to your specific setup.
  3. Include instructions for how to install, configure, and use the package.

Let me know if you need any changes or further clarifications!


All versions of env-editor with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
laravel/framework Version ^11.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 fadllabanie/env-editor contains the following files

Loading the files please wait ....