Answers for "laravel zoom integration"

0

laravel zoom integration

<?phpnamespace App\Http\Controllers;use App\Models\ZoomMeeting;use App\Traits\ZoomMeetingTrait;use Illuminate\Http\Request;class MeetingController extends AppBaseController{    use ZoomMeetingTrait;    const MEETING_TYPE_INSTANT = 1;    const MEETING_TYPE_SCHEDULE = 2;    const MEETING_TYPE_RECURRING = 3;    const MEETING_TYPE_FIXED_RECURRING_FIXED = 8;    public function show($id)    {        $meeting = $this->get($id);        return view('meetings.index', compact('meeting'));    }    public function store(Request $request)    {        $this->create($request->all());        return redirect()->route('meetings.index');    }    public function update($meeting, Request $request)    {        $this->update($meeting->zoom_meeting_id, $request->all());        return redirect()->route('meetings.index');    }    public function destroy(ZoomMeeting $meeting)    {        $this->delete($meeting->id);        return $this->sendSuccess('Meeting deleted successfully.');    }}
Posted by: Guest on July-05-2021

Browse Popular Code Answers by Language