laravel get input from request
snippet in php

laravel get input from request

user790

    public function store(Request $request)
    {
        $name = $request->input('name');

        //
    }

laravel request has

user5854

if ($request->has('name')) {
    //
}