mohkoma/laravel-env-editor 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

mohkoma/laravel-env-editor

最新稳定版本:1.0.2

Composer 安装命令:

composer create-project mohkoma/laravel-env-editor

包简介

README 文档

README

This package allows you to edit your .env file directly in your project. The idea to built it was after we moved our project from Forge to AWS and we wanted to keep the same experience that Forge provide when you edit the environment file. I tried also to keep the same Forge styles and behaviour (Because Forge is 💪).

Env editor

How to Install?

composer require mohkoma/laravel-env-editor

Then you need to publish the assets php artisan vendor:publish --tag=env-editor-assets

Requires

PHP >= 7.4 Laravel >= 7.0

Usage

After you install the package you should be ready to go, The default route to access the editor is /dev/environment but you could also change from the config file. To publish the config file, just run: php artisan vendor:publish --tag=env-editor-config

In case if you want to customise your view, you can publish the view file using php artisan vendor:publish --tag=env-editor-views

Please, Be sure that you give the right permissions using middlewares

<?php

return [

    /**
     *  The middlewares for the env's routes
     */
    'middlewares' => [
        //\Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class
    ],

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-11-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固