定制 mohkoma/laravel-env-editor 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱: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
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

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