Support the ongoing development of Laravel.io →
netm

netm

Joined 2 Apr 2014

Statistics

Threads 13
Replies 7
Solutions 1
Articles 0

Strategy for having part of site served through SSL

I have a site that I want any logged in action to be protected under SSL, say all routes are under /...

0 Likes
0 Replies
posted 11 years ago

DB:select toArray()

Hi there, I have a large SQL statement that I am executing like so... $result = DB::select($sql); I...

0 Likes
7 Replies
posted 11 years ago

Sum of two columns multiplied in Eloquent

Hi there - anybody know how to fix this? $sales = OrderLine::with(array('Order' => function($que...

0 Likes
3 Replies
posted 11 years ago

Does anybody out there know how to use Carbon to get the difference between two date/times in hours and minutes

My dateTime fields are stored in mySQL as a timestamp and the fields are mutated? as below: public f...

0 Likes
2 Replies
Solved
posted 11 years ago

Cache time to expiration

Hiya - is there a way to get the time to expiration for a cached object?

0 Likes
1 Replies
replied 2 years ago

Anyone else out there having trouble with the Amazon SDK?

So it turned out that when I installed AWS-SDK_PHP with 'composer install AWS-SDK_PHP' it picked a 2...

1 Likes
Solved
replied 10 years ago

Laravel 4.2 Model not being loaded

I'm putting this down a lack of coffee. I think it was my hard drive hitting full and effecting the...

0 Likes
replied 11 years ago

Sum of two columns multiplied in Eloquent

If anybody is interested in future I solved it like this... $sales = DB::table('order_lines')...

0 Likes
replied 11 years ago

DB::Raw question

Thanks! Is there a way to just return the sum? This seems to do that and not a collection (but I can...

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.

© 2026 Laravel.io - All rights reserved.