Créez une vue à partir de la route Laravel
Route::get('/', function () {
return view('greeting', ['name' => 'James']);
});
Elated Earthworm
Route::get('/', function () {
return view('greeting', ['name' => 'James']);
});
Route::get("/page", function(){
return View::make("dir.page");
});
use Illuminate\Cache\RateLimiting\Limit;
use Illuminate\Support\Facades\RateLimiter;
/**
* Configure the rate limiters for the application.
*
* @return void
*/
protected function configureRateLimiting()
{
RateLimiter::for('global', function (Request $request) {
return Limit::perMinute(1000);
});
}