承接 vizrex/laravel-env-switcher 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

vizrex/laravel-env-switcher

Composer 安装命令:

composer require vizrex/laravel-env-switcher

包简介

This package provides a command line utility to switch Laravel env files easily.

README 文档

README

READ THIS FIRST

It is highly recommended for all contributors to update this file whenever there's a major update in source code. Use this tool for easy editing or visit this page for comprehensive guide on markdown syntax.

Introduction

This package provides a command line utility to switch Laravel env files easily.

Signature

env:switch {new_env} {--force}

Supported Environments

Following values are acceptable for new_env parameter:

  • dev
  • prod
  • testing

Usage Examples

  • php artisan env:switch dev
  • php artisan env:switch prod --force

How it works?

This utility supports 3 environments as mentioned above. It creates separate .env file for each environment e.g.:

  • .env.dev
  • .env.prod
  • .env.testing

When an environment is activated, its content are copied to main .env file and the correspoding file gets a suffix .active. For example if dev environment is active, then .env.dev will be renamed to .env.dev.active and its content will be copied to main .env file.

In case the required version of .env file doesn't exist, its created automatically by copying .env.example file.

To-dos

Following are the approved items:

  • Item-1

Wishlist

Add the suggestions in this wishlist. Only approved wishlist items can be moved to To-dos list:

  • Item-1

统计信息

  • 总下载量: 364
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 2
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: proprietary
  • 更新时间: 2019-01-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固