Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amdad121/env-editor-laravel
Simple ENV file editor for your Laravel.
https://github.com/amdad121/env-editor-laravel
editor env environment laravel
Last synced: 2 months ago
JSON representation
Simple ENV file editor for your Laravel.
- Host: GitHub
- URL: https://github.com/amdad121/env-editor-laravel
- Owner: amdad121
- License: mit
- Created: 2023-12-10T18:39:58.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-19T08:55:01.000Z (3 months ago)
- Last Synced: 2024-10-19T12:34:32.772Z (3 months ago)
- Topics: editor, env, environment, laravel
- Language: PHP
- Homepage:
- Size: 13.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# ENV Editor for laravel
[![Latest Version on Packagist](https://img.shields.io/packagist/v/amdadulhaq/env-editor-laravel.svg?style=flat-square)](https://packagist.org/packages/amdadulhaq/env-editor-laravel)
[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/amdad121/env-editor-laravel/run-tests.yml?branch=main&label=tests&style=flat-square)](https://github.com/amdad121/env-editor-laravel/actions?query=workflow%3Arun-tests+branch%3Amain)
[![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/amdad121/env-editor-laravel/fix-php-code-style-issues.yml?branch=main&label=code%20style&style=flat-square)](https://github.com/amdad121/env-editor-laravel/actions?query=workflow%3A"Fix+PHP+code+style+issues"+branch%3Amain)
[![Total Downloads](https://img.shields.io/packagist/dt/amdadulhaq/env-editor-laravel.svg?style=flat-square)](https://packagist.org/packages/amdadulhaq/env-editor-laravel)Simple ENV file editor for your Laravel.
## Installation
You can install the package via composer:
```bash
composer require amdadulhaq/env-editor-laravel
```## Usage
```php
use AmdadulHaq\EnvEditor\EnvEditor;EnvEditor::set('APP_NAME', 'Laravel');
EnvEditor::update('APP_NAME', 'Laravel');
EnvEditor::setOrUpdate('APP_NAME', 'Laravel');
EnvEditor::remove('APP_NAME');
```## Testing
```bash
composer test
```## Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
## Security Vulnerabilities
Please review [our security policy](../../security/policy) on how to report security vulnerabilities.
## Credits
- [Amdadul Haq](https://github.com/amdad121)
- [All Contributors](../../contributors)## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.