Support the ongoing development of Laravel.io →

785 Threads

Problem in validation file

Hello dear friends I want to upload a ".apk" file using laravel and form validation. my ru...

0 Likes
1 Replies

[package] Rulez - Input validation Service

https://github.com/keevitaja/rulez-laravel Rulez provides easy way for setting up input validation r...

0 Likes
0 Replies

Event trigger and validation

Hi, When I save a model, I want to validate its contents; I use a validator and a protected array of...

0 Likes
0 Replies

Best practices for validating user input

Hi, lot of people create sepparate classes for each set of rules and then inject them into the contr...

0 Likes
0 Replies

Class Controller does not exist - ReflectionException

hi guys, i dont know exactly what should i tag for this problem. Anyway just deployed my app on a La...

0 Likes
0 Replies
posted 10 years ago

Validator->failed() returns empty array

Hey guys, I'm pretty new to laravel and I would like to use the Validator which comes with laravel....

0 Likes
1 Replies
Solved

csrf validation failing during unit testing (Laravel 4.1)

I recently upgraded from 4.0 to 4.1 following the upgrade instructions, and now when unit testing my...

0 Likes
1 Replies

Handle a cart for an e-commerce website

Hi, I am trying to create a cart for my e commerce website. For a single user, it's simple, session...

0 Likes
13 Replies
Solved

Extend Validator class multiple times

Hi I've created a custom Validator package that adds a validator for phone numbers: https://github.c...

0 Likes
1 Replies

Vagrant, Codeception & Laravel issue. NotFoundHttpException

Hey gang, I'm having an issue with being able to use the Laravel4 module in Codeception. Whenever I...

0 Likes
0 Replies

Need help with syntax

I am extremely sorry for this novice question in the link http://laravel.com/docs/routing#route-filt...

0 Likes
1 Replies
Solved

How to validation multiple files in Laravel 4

I have input with name = "image []" multiple = "multiple" which depends on other...

0 Likes
2 Replies
Solved

"Different" validation approach

Hello Artisans! I'm working on a project that is quite complex and I'm trying to find the best solut...

0 Likes
3 Replies
posted 10 years ago

Validation - Always showing The password field is required. Only

public function postSignup() { $validator = Validator::make( array('email' => 'required'|'unique:...

0 Likes
2 Replies

detect if the uploaded file is an image

any idea on simple function to know if the file uploaded is an image? I know you can do geMimeType b...

0 Likes
4 Replies
posted 10 years ago

Access the model in custom validators

Is there a way to access the model itself in the custom validators? I've tried passing the id in as...

0 Likes
0 Replies

password_confirmation in administrator/frozennode

im using administrator.frozennode but when i try to add a edit_field with the pass confirmation, the...

0 Likes
0 Replies

Best Practices for Validation Inside Models

I just came across an example that put the validation inside of a model like so: class User extends...

0 Likes
4 Replies
Solved

AndreasLutro...

[ user temporarily banned for post content ]

0 Likes
0 Replies
posted 10 years ago

Validating unique data with validation service

I'm using a validation service to validate user submitted form input (something along the lines of:...

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.