首页 文章
  • 1 votes
     answers
     views

    如何在PHP Laravel Lumen中 Build 与数据库的连接?

    我正在尝试通过 localhost 运行基于流明的查询 . 我不知道如何正确调用正确的数据库名称 . 编辑: The reason I'm getting the error below is because of the name of the db name in my .env file in my project. 我的 .env 文件中的 DB_DATABASE=mydbsche...
  • 5 votes
     answers
     views

    流明认证

    根本无法让Lumen身份验证工作 . 我有一个全新的安装,并尝试按照这里的文档: https://lumen.laravel.com/docs/5.2/authentication 我已经取消注释 app.php 文件中的 AuthProvider 行(以及其他所有内容,外观等) . 然后在一个简单的控制器中我做 dd(Auth::use()) . 我无法绕过这个错误: Undefined in...

热门问题