laravelda cortollerga keladigan zaproslarni cheklash

Solutions on MaxInterview for laravelda cortollerga keladigan zaproslarni cheklash by the best coders in the world

showing results for - "laravelda cortollerga keladigan zaproslarni cheklash"
Luis
13 Aug 2020
1//Buni siz kontrollerga qo`yishingiz kerak eng tepasiga
2// Auth bu saytda regdan o`tsa degani throttle esa keladigan zaproslarni cheklash degani
3// Ya'ni 1 daqiqada 20 ta so`rov yubrish mumkun. 
4// 20 tadan o`tib ketsa juda ko`p so`rovlar degan ingilizcha yozuv chiqadi
5
6public function __construct()
7	{
8		$this->middleware([
9			'auth',
10			'throttle:20,1'
11        ]);
12	}