首页 > 代码库 > Laravel 查看默认的用户认证

Laravel 查看默认的用户认证

跟踪查看用户认证实现

在路由器加个反射 route/web.php

<?php


Route::get(‘/‘, function () {
    return view(‘welcome‘);
});

Auth::routes();

Route::get(‘/home‘, ‘HomeController@index‘);

Route::get(‘/find/{class}/{action?}‘,function($class,$action = null){
    if($action == null)
    {
        $ca = new ReflectionClass($class);
    }
    else
    {
        $ca = new ReflectionMethod($class, $action);
    }
    dd($ca);
});

 

Laravel 查看默认的用户认证