skip to Main Content

Laravel File system auth

I try build a Laravel authentication application that is based on file system storage and in database based way parallel. I made a method, like this: private function fileAuth(array $credentials): void { $userFileName = config('backup_values.backup_path') . $credentials['email'] . '.json'; $user…

VIEW QUESTION

Adding Date field in the Registration Form in Laravel

I have an error that says Validation rule date_format requires at least 1 parameters. Then this is my Code under RegisteredUserController.php public function store(Request $request): RedirectResponse { $request->validate([ 'first_name' => ['required', 'string', 'max:255'], 'last_name'=>['required','string','max:255'], 'sex'=>['required','string','max:10'], 'birthdate'=>['required','date_format'], 'email' => ['required', 'string',…

VIEW QUESTION

Laravel: Error in installing laravel breeze

i tried to install laravel breeze but it gave me this error: Your requirements could not be resolved to an installable set of packages. Problem 1 - laravel/breeze[v1.19.0, ..., v1.19.2] conflict with laravel/framework <9.37.0. - laravel/breeze[v1.20.0, ..., 1.x-dev] require php…

VIEW QUESTION
Back To Top
Search