Skip to content

Instantly share code, notes, and snippets.

@sooluh
Created July 4, 2025 07:51
Show Gist options
  • Select an option

  • Save sooluh/c6b7e702f8e701f60963257644d4cbb2 to your computer and use it in GitHub Desktop.

Select an option

Save sooluh/c6b7e702f8e701f60963257644d4cbb2 to your computer and use it in GitHub Desktop.
<?php
namespace App\Http\Controllers;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Routing\Controller as BaseController;
abstract class Controller extends BaseController
{
use AuthorizesRequests;
use ValidatesRequests;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment