Download the PHP package tamer-dev/laravel-env-cli without Composer

On this page you can find all versions of the php package tamer-dev/laravel-env-cli. 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 laravel-env-cli

Laravel Commands for .env file

Latest Version on Packagist Total Downloads

This Laravel package offers to you some commands to work with your env file from the command line. if you are making changes frequently to your env file this package will help you to do this fast and in an effective way.

This package supports the Laravel version from 5.7 to 10 .

Installation

You can install this package with Composer using the following command:

Usage

1- Set Environment Variable Command

command definition :- env:set {key} {value}

this command by default will use .env file

optional command options:- {--file=your-custom-env-name} if you want to set a key in custom env file

{--b|backup} take a backup from env file before set the key

you must provide both a key and value .

you can provide them as two arguments as commnd before or one argument like follwoing:- .

if you value have spaces you can wrapping them in quotes like follwoing:-.

you can create new environment variables if this key dose not exist.

you can create or update environment variables in another file not in the default one by passing --file option like following:-

also you can take a backup file from your env file before make any changes in same command by passing -b option (a new file backup with the name '.env.backup_' will be created) like following:-

another features :-

2- Read Environment Variable Command

command definition :- env:read {key} this command by default will use .env file

optional command options:- {--file=your-custom-env-name} if you want to read a key from a custom env file

3- Backup Environment File Command

this command will make a backup from env file (a new file backup with the name '.env.backup_' will be created)

command definition :- env:backup this command by default will use .env file

optional command options:- {--file=your-custom-env-name} if you want to backup a custom env file

4- Restore Environment File Command

restore your .env file from a backup file

command definition :- env:restore {backupedFileName} this command by default will use .env file

optional command options:- {--file=your-custom-env-name} if you want to restore a custom env file

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

Contribution

contribution are welcome ,if any one want to contribute in this package you can start by picking from this list : -

Notes

this package inspired by this package imliam/laravel-env-set-command,for that all thanks to imliam

License

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


All versions of laravel-env-cli with dependencies

PHP Build Version
Package Version
Requires php Version ^7.1|^8.0|^8.1
illuminate/support Version ^5.7|^6.0|^7.0|^8.0|^9.0|^10.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 tamer-dev/laravel-env-cli contains the following files

Loading the files please wait ...