<?php /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded by the RouteServiceProvider within a group which | contains the "web" middleware group. Now create something great! | */ Route::get('/', function () { return "welcome111"; }); Route::get('/eg1','TestInput@eg1'); Route::get('/eg2','TestInput@eg2'); Route::get('/eg3','TestInput@eg3'); Route::get('/eg4','TestInput@eg4'); Route::get('/eg5','TestInput@eg5'); Route::get('/eg6','TestInput@eg6'); Route::get('/eg6_1','TestInput@eg6_1'); Route::get('/eg6_2','TestInput@eg6_2'); Route::match(['get','post'],'/login','TestInput@login'); Artisan::command('inspire', function () { $this->comment(Inspiring::quote()); })->describe('Display an inspiring quote'); Broadcast::channel('App.User.{id}', function ($user, $id) { return (int) $user->id === (int) $id; });