Support the ongoing development of Laravel.io →

Herlevsen

Joined 11 Feb 2014

Statistics

Threads 1
Replies 6
Solutions 1
Articles 0

[package] Bookmark all your routes easily

I have just published my first composer package, and would really appreciate if someone would give i...

0 Likes
0 Replies
replied 10 years ago

Eloquent is returning data with deleted_at. How to return where deleted is NULL?

http://laravel.com/docs/eloquent#soft-deleting You need to use the SoftDeletingTrait in your model a...

0 Likes
replied 10 years ago
0 Likes
replied 10 years ago

eager loading on polymorphic relation

You are saying that Event and History has a relationship with User, but you are trying to load the r...

0 Likes
replied 10 years ago

Fills created_at and updated_at on record creation

If you don't want it to happen, you can disable it per model. Don't know why you'd do that though.

0 Likes
replied 10 years ago

Disable auto sending emails when running specific code ( aka cron job )

// set config to pretend $config::set('mail.pretend', true); Should be // set config to pretend C...

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.