Download the PHP package jobmetric/laravel-env-modifier without Composer
On this page you can find all versions of the php package jobmetric/laravel-env-modifier. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jobmetric/laravel-env-modifier
More information about jobmetric/laravel-env-modifier
Files in jobmetric/laravel-env-modifier
Package laravel-env-modifier
Short Description This is a package for env modification the contents of different Laravel projects.
License MIT
Homepage https://doc.jobmetric.net/package/laravel-env-modifier
Informations about the package laravel-env-modifier
Env Modifier for laravel
This is a package for env modification the contents of different Laravel projects.
Install via composer
Run the following command to pull in the latest version:
Documentation
To use the services of this package, please follow the instructions below.
Set file path
By default, the main Laravel env file is in the settings, if you want to change another file and get data from it, you should use this method.
Set data
You must pass it an array with keys and each key contains a value.
Get data
You can use the following modes to receive the data of an env file.
1- Get a specific key
2- Get some specific keys
3- Get array specific keys
4- Get an array with a given number of keys
The fourth method is less used, it is to show off the power of the program.
How to return get data
Delete data
You can use the following modes to delete the data of an env file.
1- Delete a specific key
2- Delete some specific keys
3- Delete array specific keys
4- Delete an array with a given number of keys
The fourth method is less used, it is to show off the power of the program.
Has key
You can use the following method to check a key in a file.
All versions of laravel-env-modifier with dependencies
ext-json Version *
laravel/framework Version >=9.19
jobmetric/laravel-package-core Version ^1.0