Ok i founded the solution
$project= Projects::with(array('images' => function($query) {
$query->orderBy('id', 'DESC');
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community