Using laravel eloquent relation to retrieve all records except NULL
You can use the has
method to only retrieve plates that have a project.
\App\Models\Plate::with('project')->has('project')->get();
Docs on has
: http://laravel.com/docs/5.1/eloquent-relationships#querying-relations