Sử dụng factory để tạo tự động User, Address (ok)
Route::get('/user', function(){
factory(\App\User::class,5)->create();
});

PreviousDùng xác thực có sẵn của Model User, use Illuminate\Foundation\Auth\User as Authenticatable (ok)NextLàm Sao Để Xây Dựng Một Bảo Vệ Xác Thực Trong Laravel
Last updated
Was this helpful?