Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

asleonardo's avatar

Nayjest Grids with array data provider

Hi,

I am trying to use the Nayjest Grids. I have a grid that uses a complex SQL query, and I would not like create this query with query builder. IMHO, The reason is that it's much more easy to create a query with SQL and use the DB::select() rather than using the Eloquent Query Builder.

My question is, is there a way to pass to Nayjest Grids data provider a SQL string or an array of data instead of using the EloquentDataProvider or DbalDataProvider?

0 likes
1 reply

Please or to participate in this conversation.