简体   繁体   English

Laravel 5.2.45 Auth控制器和型号在哪里?

[英]Laravel 5.2.45 Where is the Auth Controller and model?

Where are the "out-of-the-box" Authentication Controllers and Models for Laravel 5.2.45? Laravel 5.2.45的“开箱即用”认证控制器和型号在哪里? I've searched thoroughly and I keep seeing it's in app/http/auth but only HomeController and a minimal Controller.php is there. 我已经彻底搜索了,我一直在app / http / auth中看到它,但只有HomeController和一个最小的Controller.php就在那里。

Also, It's a fresh install with only minimal edits such as new files to views and assets such as css and js. 此外,它是一个全新的安装,只需要很少的编辑,例如视图的新文件和css和js等资产。 I used "php artisan make:auth" and the output only stated the new view files. 我使用了“php artisan make:auth”,输出只显示了新的视图文件。

I'm learning Laravel to replace Codeigniter and this is a stump I've stumbled upon. 我正在学习Laravel取代Codeigniter,这是我偶然发现的一个残骸。

The model files are stored directly inside the app directory. 模型文件直接存储在app目录中。 The controller files are stored inside app/Http/Controllers directory. 控制器文件存储在app/Http/Controllers目录中。 Auth Controller is inside app/Http/Controllers/Auth . Auth Controller位于app/Http/Controllers/Auth By the way in the mentioned version of laravel no HomeController file is generated by laravel. 顺便提一下,在上面提到的laravel版本中,没有HomeController文件是由laravel生成的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM