Support the ongoing development of Laravel.io →

withTrashed() failed after upadting to 4.2

After updating to 4.2 using composer update, I have added use SoftDeletingTrait; protected $dates =...

0 Likes
3 Replies
Solved

Pagination and Eager Loading

My Controller method is: $topics=Topic::with(array('subtopics'=>function($query){ $query->with...

0 Likes
0 Replies

Retrieving primary key after row insertion

I have three tables - users, spots, and tags When a user creates a spot (location), they also create...

0 Likes
2 Replies
Solved

Laravel Homestead - using Laravel 4.1 and PHP 5.3.8

I understand that out the box Laravel Homestead supports php 5.6 but I really want to make use of ho...

0 Likes
1 Replies

Convert fluent query to Eloquent

Hello I have this query: $galery = DB::table("galery") ->where("approved"...

0 Likes
0 Replies

Take all user post comments

How can I take all user post comments? I'm already using morphTo() method between comments and posts...

0 Likes
3 Replies
posted 10 years ago

Mail::send always returns false/null in 4.2

Hey there, i was just comparing the 4.0 <-> 4.2 behaviour of the Mail-Facade. In the old versi...

0 Likes
2 Replies
posted 10 years ago

How to add custom fields to AUTH module

What is the best way to add custom field to Auth ? How about if i want to check additional fields so...

0 Likes
1 Replies

Confide by Zizaco

I just finished the Laracasts Larabook Series and then I discovered Confide by Zizaco. What I don't...

0 Likes
0 Replies

Extending Laravel

Hey there! I have read the documentation for core extension, however I can't figure out even where t...

0 Likes
1 Replies
Solved
posted 10 years ago

Mailer gives errors

Hi, If i try to send an email, even without the queue the error 'Class queue.worker does not exist'...

0 Likes
0 Replies

Laravel on Large Scale

Hello, I have a question regarding Laravel on a large scale environment. We have a hosting company...

0 Likes
2 Replies

open page from routes not run css files

open page from routes not run css files whatis the problem? Route::get('/', function(){ return Vi...

0 Likes
0 Replies

Looking for laravel.phar(new version)

Hello In the past I use laravel.phar (on /usr/local/bin) and I think it's better than path method So...

0 Likes
0 Replies
posted 10 years ago

Eloquent Method each

Hi, someone knows how to use Eloquent Method each? I mean, I'm using it but, I can just return value...

0 Likes
2 Replies
Solved

Undefined variable: validator

Hi there, I new there and with laravel. I try make users Authentication but have all time have this...

0 Likes
3 Replies
Solved

Data Scope

In most of the code I write, 90% of the time I declare the data variable at a global scope. Is this...

0 Likes
3 Replies

Eloquent Many to Many query

Hello I have following structure Table categories Table posts Table category_post Table users Table...

0 Likes
0 Replies

Advice with stripe

SCENARIO I have built a party booking engine with Laravel, which requires a Down payment to reserve...

0 Likes
1 Replies

Sorting database values using usort and Sortby(collection method)

I am trying to use usort and sortby to basically after the code below is 1. sort $featureLists by 'f...

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.

© 2025 Laravel.io - All rights reserved.