$getdriverrides->vehicle_type ? $getdriverrides->vehicle_type->base_fare : null laravel code example
Example 1: laravel remove foreign key
$table->dropForeign('posts_user_id_foreign');
Example 2: laravel join
$users = DB::table('users')
->join('contacts', 'users.id', '=', 'contacts.user_id')
->join('orders', 'users.id', '=', 'orders.user_id')
->select('users.*', 'contacts.phone', 'orders.price')
->get();