use Illuminate\Support\Facades\Route; Route::get('/greeting', function () { return 'Hello World'; });

Laravel Basic Routing