Support the ongoing development of Laravel.io →

786 Threads

How to use translation when using validator->errors()->add()

Hi there, To perform some custom validation on my form request i've implemented the prtected functio...

0 Likes
2 Replies

[Unit Test] Progressive unit test for uploaded files with validation

how is exactly build a unit test for uploaded files ? i have use a $this->call(<method>,<...

0 Likes
9 Replies

How can I create a widget contains form and submit it to the same widget without changing the page

Dear all I'm going to create some widgets on the left side of the master layout One of these widgets...

0 Likes
0 Replies

Password::reset without email field

Hello how can I override Password::reset so that it takes only token and password without email ? A...

0 Likes
2 Replies

Is it possible to do multiple file uploads using Form Requests?

I'm building a file uploader on a project and plan to use the Form Request feature. Is it possible?

0 Likes
0 Replies

Validate Multiple/Nested/1:n models at once in one form

Hi, I have this huge form divided in several models. These are my models: class Formato extends Mode...

0 Likes
0 Replies
posted 8 years ago

Custom function to sanitize data received in xml feed

I have access to a secure xml feed and I want to know what I should add to the function below to mak...

0 Likes
0 Replies

$errors is empty

Im sorry if I am new to Laravel 5.2, but I get empty string in $errors even though if I use duplicat...

0 Likes
1 Replies
Solved

Need advice from programer...

Im creating simple kiss system need someone to ask about advice fixing things... Skype: cuemur

0 Likes
0 Replies
posted 8 years ago

"use Illuminate\Http\Request;" VS "use Request;" need some clarification...

Okay, my code is working but I just need to understand something : (A) use Request; (B) use Illumina...

0 Likes
1 Replies
Solved

Using two Custom Requests in Controller

Hi, I can't find a similar question. I've a Controller Class named UsuarioController.php with the me...

0 Likes
1 Replies
posted 8 years ago

Validate multidimensional array (5.2)

Hi! I'm struggling with a validation issue. Ive this set of data: [questions] => Array (...

0 Likes
0 Replies

internal error 500 in ajax token already pass

I have some similar same logic in ajax but this one always get internal error 500 i already pass the...

0 Likes
0 Replies

Overriding EloquentUserProvider to change password field name in validateCredentials()

I've managed to change the password field in the code through overriding various classes/methods. Bu...

0 Likes
0 Replies

handling error in inputing data

Hi, I'm new with Laravel, so im writing a comment form that using hidden input which value is user-&...

0 Likes
1 Replies

Upload image on edit profile information.

I have existing image on profile information then i don't want to change it. If i update my profile...

0 Likes
0 Replies

Second parameter missing for update method.

Hi I've a path registered Route::patch('addressbook/edit', [ 'as' => 'addressbook.edit',...

0 Likes
1 Replies

Upload image Resize on Controller.

Where can i put the resize in this code thanks. $this->validate($request, [ 'email' =...

0 Likes
6 Replies
Solved

(Upload image or not)

Hey what can i code if i don't want to have a image. i get error: Call to a member function getClien...

0 Likes
2 Replies
Solved

Validate relationship

I should validate if relationship exit when i create an enrtity. Example: A "Role" should...

0 Likes
0 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.