Create API Resources in laravel 11
<?php namespace App\Http\Controllers ; use App\Models\ Student ; use Illuminate\Http\ Request ; class RstudentController extends Controller { /** * Display a listing of the resource. */ public function index () { return Student :: all (); } /** * Show the form for creating a new resource. */ public function create () { // } /** * Store a newly created resource in storage. */ public function store ( Request $request ) { // } /** * Display the specified resource. */ public function show ( string $id ) { ...