<?php
// Buat file: app/Http/Controllers/Controller.php
namespace App\Http\Controllers;

abstract class Controller
{
    //
}

// ATAU langsung extends dari:
use Illuminate\Routing\Controller as BaseController;

class PostController extends BaseController
{
    // ...
}