Support the ongoing development of Laravel.io →

WrongWay

Joined 2 May 2016

Statistics

Threads 2
Replies 5
Solutions 0
Articles 0

Singleton unexpected behavior ?

I have a service provider that I use to share variables in views. Now I need to be able to use a var...

0 Likes
0 Replies

Random log out on specific route

So here's a problem I've encountered now. I have some page to view stats for different kinds of cont...

0 Likes
0 Replies
replied 8 years ago

Get sum's of a related table field?

$sum = 0; foreach($invoices as $invoice) { $sum += $invoice->items->sum('price'); }

0 Likes
replied 8 years ago

Validator errors not in session?

So you say there are 2 redirects happening ? It doesn't work this way. Error messages are flashed, n...

0 Likes
replied 8 years ago

Form with morph relationship

What do you have in your models ? I'm pretty sure this is a solvable problem :)

0 Likes
replied 8 years ago

Validator errors not in session?

->withErrors($validator->errors());

0 Likes
replied 8 years ago

Getting validation to work

The errors will be shown on the page the first form was shown. When validation fails, it executes a...

0 Likes

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.