Download the PHP package moh-slimani/laravel-env-write without Composer
On this page you can find all versions of the php package moh-slimani/laravel-env-write. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download moh-slimani/laravel-env-write
More information about moh-slimani/laravel-env-write
Files in moh-slimani/laravel-env-write
Package laravel-env-write
Short Description A package to write to the .env file.
License MIT
Homepage https://github.com/moh-slimani/laravel-env-write
Informations about the package laravel-env-write
A package to write to the .env file.
LaravelEnvWrite is a Laravel package designed to simplify the process of updating the .env file in Laravel applications. It provides a convenient way to automatically update the environment file during database seeding or from anywhere in the codebase.
Support us
We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products.
We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall.
Installation
You can install the package via composer:
Configuration
The package doesn't require any additional configuration. Once installed, you can start using it immediately.
Usage
Command Line Interface
The package provides an Artisan command to update the .env file from the command line.
- {key}: The key to update in the .env file. It can be provided either as a single argument or in the format key=value.
- {value}: The value to set for the key. This argument is optional and only required when providing a single argument for the key.
Examples
Programmatically
You can also use the package programmatically in your codebase:
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Mohamed slimani
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-env-write with dependencies
spatie/laravel-package-tools Version ^1.14.0
illuminate/contracts Version ^10.0