laravel-5 - 为什么我的 Laravel 项目在 Mac 上不显示 .env 文件?

标签 laravel-5

为什么我的 Laravel 项目在 Mac 上不显示 .env 文件?

如何解决?

最佳答案

你没有显示隐藏文件

  • 在 Finder > Applications > Utilities 中找到的打开终端
  • 在终端中,粘贴以下内容:defaults write com.apple.finder
    AppleShowAllFiles 是
  • 按返回
  • 按住“Option/alt”键,然后右键单击 Dock 中的 Finder 图标
    并单击重新启动。

  • 这将显示所有隐藏文件
    here you can find how to show them on mac

    关于laravel-5 - 为什么我的 Laravel 项目在 Mac 上不显示 .env 文件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45878108/

    相关文章:

    Laravel:删除返回结果中的属性

    mysql - 在 HR 应用程序 Laravel 上保留系统余额

    laravel - 未找到类 'App\Http\Controllers\Hash'

    php - 根据最后插入的 id 生成唯一标识符

    php - RESTful 应用程序中 MyController 缺少参数 1

    php - 更新 laravel Controller 中的复选框

    mysql - 从数据库 Laravel 格式化日期值

    mysql - JoinClause.php 第 79 行中的 InvalidArgumentException : Not enough arguments for the on clause

    php - Laravel 5 上的 Compiled.php 中的 InvalidArgumentException

    Laravel 5.8 - 验证 future 日期