I enabled Laravel and typed:
- Code: Select all
$validator = Validator::make($request->all(), [
'username' => 'required|string|email|max:64',
'password' => 'required|string|min:6|max:35',
]);
With a good auto completetion, upon typing:
- Code: Select all
$validator = Validator,
- Code: Select all
use Illuminate\Support\Facades\Validator;
at the top of the file or at least warned me that the class was missing.
I am not sure to understand how webuilder works when we enable the Laravel framework if the auto completion does not work.
Am I missing something?
Thank you.