laravelda so 60rovlarni cheklash

Solutions on MaxInterview for laravelda so 60rovlarni cheklash by the best coders in the world

showing results for - "laravelda so 60rovlarni cheklash"
Maya
14 Mar 2019
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	}