Support the ongoing development of Laravel.io →

623 Threads

posted 4 weeks ago

withValidator $validator->fails() make server slow

PHP 8.1.4 Apache/2.4.53 Laravel Framework 9.33.0 I am trying to add messages error in every valida...

0 Likes 0 Replies

Laravel: how can I return redirect()->back() with a variable

Hi, How am I able to use redirect()-> back() width a variable. I tried below code but it is not w...

0 Likes 3 Replies

Conditional Validation with dependency to other fields

I am trying to validate import data using Laravel Excel. I got through to using required_if when a f...

0 Likes 5 Replies

Get Laravel validation errors from Vue component using Ajax

Hi I am able to get all validations errors from Laravel ProductController when submitting my Vue cre...

0 Likes 0 Replies

How do I keep the value of a checkbox in an invalid form?

I am working on a Laravel 8 blogging application. The "Add article" form has a "swit...

1 Likes 12 Replies

Why does this form fail to validate?

I am making a blogging application with Laravel 8 and Bootstrap 5. I run into a problem trying to va...

0 Likes 2 Replies

laravel package

hello i install propaganistas/laravel-phone with composer on local laravel prjoject i copy vendor di...

0 Likes 0 Replies
posted 1 year ago

[Help] API Response for Validation errors \w Rule name

I'm working on a project where I provide API services for the clients / consumers. In my APIs with s...

0 Likes 2 Replies

Define Sanctum login route in api.php or web.php?

I am manually implementing login for Sanctum SPA (AngularJS) app and based on the Sanctum documentat...

0 Likes 0 Replies

Validate API-JSON and limit input

Hi all, I am building an API for my application and I want to limit my endpoints to the JSON Data, I...

0 Likes 1 Replies

Testing validation rule exists

Hello, I have a form request class with a validation rule that looks like this 'array.*.type' =>...

0 Likes 1 Replies

laravel check errors in controller

Hi everyone,i ve problem with laravel check errors in controller public function registerPost(Reques...

0 Likes 1 Replies

Proper dynamic form request refactor issue

Hello. I have issue when I'm trying refactor dynamic form validation into form request. Main issue i...

0 Likes 0 Replies

Laravel App Front-end and Backend Validation is being bypass

Hi There, this is my first post here as I have encountered a weird issue for the very first time eve...

0 Likes 1 Replies

Assignment of students to automatic examination centers

Hello community, I have just set up a project to assign students to the ABC in examination centers,...

1 Likes 0 Replies

Laravel Validation Rule Create a Post

Clavvan Laravel make Validation if Post Only Can Create in 1 month, so user create any post again in...

0 Likes 0 Replies

Same Session for two different projects in different folders

I'm using Laravel 5x and I'm trying to have the user login from (for example): https://dev.example.c...

0 Likes 0 Replies

Complex validation logic

I have a disclosure form that I only need to validate 2 fields out of six based on if the required q...

0 Likes 2 Replies

Laravel Date Validation between two dates

Hi, I need a user to be able to only select a date between a pair of dates, but the validation hasn'...

1 Likes 4 Replies

How to validate multiple check box and select.

I am learning laravel. I want to validate a form. There have two checkbox, every part of checkbox ha...

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.

© 2022 Laravel.io - All rights reserved.