osb/app/Http/Controllers/WelcomeController.php

18 lines
335 B
PHP

<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Log;
class WelcomeController extends Controller
{
public function home() {
return view('welcome.home');
}
public function webhook(Request $request)
{
Log::channel('webhook')->debug('Webhook event',['request'=>$request]);
}
}