Skip to content

castelnuovo/laravel-env

Repository files navigation

castelnuovo/laravel-env

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Encrypt and decrypt environment files in Laravel

Installation

You can install the package via composer:

composer require castelnuovo/laravel-env

Usage

# Create production environment file
cp .env .env.production

# Generate a key and encrypt an environment file
php artisan env:encrypt --env production

# Decrypt and edit an environment file
php artisan env:edit production

Testing

composer test

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

License

The MIT License (MIT). Please see License File for more information.