In Laravel 5.2 Input:: is replaced with Request:: use Request:: Add to the top of Controller or any other Class use Illuminate\Support\Facades\Request;