Answers for "laraqvel simple view in route"

PHP
4

create view from route laravel

Route::get('/', function () {
    return view('greeting', ['name' => 'James']);
});
Posted by: Guest on May-06-2020
0

Laravel view routes

use IlluminateCacheRateLimitingLimit;
use IlluminateSupportFacadesRateLimiter;

/**
 * Configure the rate limiters for the application.
 *
 * @return void
 */
protected function configureRateLimiting()
{
    RateLimiter::for('global', function (Request $request) {
        return Limit::perMinute(1000);
    });
}
Posted by: Guest on December-23-2021

Browse Popular Code Answers by Language