Query builder for PHP.