Skip to content

Tag: laravel-5.2

laravel 5.2 cant pass variable to view

I have a very simple controller and view. But for some reason I am unable to pass a variable to my view. Note that echo $project->title inside the router works. Controller: } View: But for some reason I keep getting this error: ErrorException in b605b028d5285b79f4e0043cf14415de5dddcae6.php line 10: Undefin…

How to validate phone number in laravel 5.2? [closed]

Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question. Closed 2 years ago. Improve this question I wan…

Manually register a user in Laravel

Is it possible to manually register a user (with artisan?) rather than via the auth registration page? I only need a handful of user accounts and wondered if there’s a way to create these without having to set up the registration controllers and views. Answer I think you want to do this once-off, so the…

Laravel 5.2 New Password Must differ from Old One

Currently I am working on one project’s authentication module. I want to create functionality of password reset with the constraint that new password and old password must be different. But the problem is, the password is encrypted with bcrypt in database. So I can’t use Different validation rule …