Support the ongoing development of Laravel.io →

Proper implementation for multiple validation

//Contact.php class Contact extends \Eloquent { protected $fillable = array('email', 'name', 'subje...

0 Likes
0 Replies

Register then Redirect to Intended Issue

I am trying to make it so if a user clicks on a protected link, they get forwarded to a login / regi...

0 Likes
2 Replies

Returning checked checkboxes based on pivot

Fairly new to MVC and Laravel. I am building a form that allows users (players) to be assigned to /...

0 Likes
1 Replies
Solved

Access Validation $errors outside a view?

In any view, $errors is always available and returns the appropriate object. However, I'm trying to...

0 Likes
6 Replies

Routes didn't work for me :(

As I am new to laravel, and studies all of the routing documentation. But still stuck on basic routi...

0 Likes
7 Replies
posted 11 years ago

Parse error: Please Help!

Parse error: syntax error, unexpected T_USE, expecting T_FUNCTION in /home/fzystudi/public_html/vend...

0 Likes
11 Replies

Migrating tables and problems with foreign keys

I have created about 25 database tables in the migrations folder by first creating the files with ph...

0 Likes
2 Replies

Input "less than" character entity, stored as less than sign

I think Laravel can mangle character entities when storing into database. Has anyone else noticed th...

0 Likes
2 Replies

Trouble with Auth::attempt()

Hey everyone, I'm having trouble with auth::attempt() and I'm not quite sure what to google. In chr...

0 Likes
1 Replies

Handling 404 properly - best practice

My url is like domain.com/p/{id} when I insert a wrong ID i get error 500, how do i show error 404 n...

0 Likes
0 Replies

Can you use belongsToMany with non-primary-key fields?

I have the following tables users id email teams id teamlist id team_id email The reason there...

0 Likes
2 Replies
posted 11 years ago

Is possible to do this?

I have a User and a Country models, and the user model has one-to-many relation class User extends E...

0 Likes
1 Replies
posted 11 years ago

laracasts / utilities on laravel 4.1. *

I can not use laracasts / utilities on laravel 4.1. *, please help me.

0 Likes
1 Replies

Stuck on this! How to stop these database hits?

Something was causing multiple calls to the User table. I found the solution on some blog that reco...

0 Likes
2 Replies

Having trouble testing model validation.

I'm just starting out with TDD and I'm trying to test validation in a model. Currently, all my test...

0 Likes
1 Replies
posted 11 years ago

Stockholm, Sweden

Working getting a meetup group in Stockholm up and running, join if you're interested! http://www.me...

0 Likes
0 Replies
posted 11 years ago

Polymorph many-to-many relationship - Model.php fails to find my class.

Hello, I've been having immense problems trying to get the Polymorphic Many-to-Many relationship to...

0 Likes
2 Replies
Solved

Custom database library

Hi, I'm new in Laravel and I'm thinking about Laravel for my project. Laravel is great, but for data...

0 Likes
2 Replies

Best practice to share meta tags from database using blade template

I have a master blade layout with meta_keywords, meta_description and title tags and want to populat...

0 Likes
2 Replies

Displaying Whats in a Pivot Table

if this is $items '$items = Item::with('brand', 'images')->get();', and i have this foreach @fore...

0 Likes
1 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.

© 2025 Laravel.io - All rights reserved.