overblog/dataloader-php
DataLoader is a PHP port of Facebook's DataLoader, providing batching and caching for data fetching. It solves the N+1 query problem by coalescing requests within a single tick, making it ideal for GraphQL resolvers with webonyx/graphql-php and any async or promise-based data layer.
overblog/dataloader-php is a PHP implementation of Facebook's DataLoader utility, designed to solve the "N+1 queries" problem common in GraphQL APIs. It batches and caches data-fetching calls made within a single request, collecting individual keys and dispatching them in one efficient batch.
Perfect for use with webonyx/graphql-php, it returns promises that resolve once the batch completes.
react/promiseHow can I help you explore Laravel packages today?