Support the ongoing development of Laravel.io →

SaeedPrez

Joined 16 Jul 2014

Statistics

Threads 0
Replies 4
Solutions 2
Articles 0

saeedprez has not posted any threads yet

replied 7 years ago

How can I get the parent without children with child's eloquent model?

$productColor = ProductColor::find(1); $product = $productColor->product;

0 Likes
replied 7 years ago

Running Unit Test

Because you're using Faker formatters that do not exist. Look at this link for all available formatt...

0 Likes
Solved
replied 9 years ago

Users table - Check for duplicate IP address

// Get user IP $ip = $_SERVER['REMOTE_ADDR']; // Search user table for user IP $us...

0 Likes
Solved
replied 9 years ago

Confirm Deletion

We have two methods in our controllers for the delete process, @delete and @destroy. @delete simply...

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.