All Questions

135
votes
3answers
53079 views

Can anyone explain Laravel 5.2 Multi Auth with example

What I have done so far. I am trying to authenticate users and admin form user table and admin table respectively. I am using the User model as provided by laravel out of the box and created exactly s...
15
votes
2answers
1904 views

Laravel 5.2 Validation Error not appearing in blade

I want to show validation Error in View page while user giving wrong input. It's Ok that it's not saving anything in database while a user giving wrong input. But there is no error message in user vie...
29
votes
11answers
29495 views

Laravel 5.2 $errors not appearing in Blade

So I'm following along with the Laravel 5 fundamentals tutorial and I am stuck on the form validation. I have followed along exactly with the tutorial but I am getting a Undefined variable: errors in ...
13
votes
2answers
6645 views

How to protect image from public view in Laravel 5?

I have installed Laravel 5.0 and have made Authentication. Everything is working just fine. My web site is only open for Authenticated members. The content inside is protected to Authenticated member...
37
votes
33answers
74747 views

TokenMismatchException in VerifyCsrfToken.php Line 67

I know that this is a known error with things like forms in Laravel. But I am facing an issue with basic authentication in Laravel 5.2. I created the auth using Laravel; php artisan make:auth Now...
21
votes
7answers
28083 views

Laravel 5.2 validation errors

I have some trouble with validation in Laravel 5.2 When i try validate request in controller like this $this->validate($request, [ 'title' => 'required', 'conten...
47
votes
8answers
40706 views

Undefined variable: errors in Laravel

When I want to register a user in my laravel project, the page always says Undefined variable: errors (View: /var/www/resources/views/auth/register.blade.php)" According to the Laravel document...
18
votes
1answers
20404 views

Laravel 5.2 Auth not Working

As you guys know Laravel 5.2 was released a few days ago. I am trying this new version. I made a new project using the following command on CLI: laravel new testapp As per documentation of Authenti...
19
votes
1answers
2308 views

Laravel 5.2 | Testing UploadedFile Misses the $test Value after Post. Bug?

Update 2016/04/26 11:30 GMT+2 Workaround Since Laravel 5.2.15, the $test parameter is removed, but there is no clear reason, because Symfony's UploadedFile still has the $test parameter. A workarou...
19
votes
5answers
8362 views

What is the difference between {{ }} and {!! !!} in laravel blade files?

In the laravel framework we can use blade to add PHP code in html file. We are using both {{ }} and {!! !!} syntax in blade files of Laravel. What is the difference between them?

Previous Next