Download the PHP package overblog/dataloader-bundle without Composer
On this page you can find all versions of the php package overblog/dataloader-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download overblog/dataloader-bundle
More information about overblog/dataloader-bundle
Files in overblog/dataloader-bundle
Download overblog/dataloader-bundle
More information about overblog/dataloader-bundle
Files in overblog/dataloader-bundle
Vendor overblog
Package dataloader-bundle
Short Description DataLoader Symfony bundle implementation.
License MIT
Package dataloader-bundle
Short Description DataLoader Symfony bundle implementation.
License MIT
Please rate this library. Is it a good library?
Informations about the package dataloader-bundle
DataLoaderBundle
This bundle allows to easy use DataLoaderPHP in your Symfony project by configuring it through configuration.
Requirements
This library requires PHP >= 5.5 to work.
Installation
Download the Bundle
Enable the Bundle
Getting Started
Here a fast example of how you can use the bundle
This example will create 3 loaders as services:
- "@overblog_dataloader.users_loader" with alias "@users_dataloader"
- "@overblog_dataloader.posts_loader"
- "@overblog_dataloader.images_loader" create using custom factory function "my_factory"
Here the list of existing promise adapters:
- ReactPhp/Promise: overblog_dataloader.react_promise_adapter
- GuzzleHttp/Promises: overblog_dataloader.guzzle_http_promise_adapter
- Webonyx/GraphQL-PHP Sync Promise: overblog_dataloader.webonyx_graphql_sync_promise_adapter
Combine with GraphQLBundle
This bundle can be use with GraphQLBundle. Here an example:
-
Bundle config
-
Batch loader function
- Usage in a resolver
This is an example using the sync promise adapter of Webonyx.
License
Overblog/DataLoaderBundle is released under the MIT license.
All versions of dataloader-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1
overblog/dataloader-php Version ^1
symfony/dependency-injection Version ^5.4 || ^6.3 || ^7.0
overblog/dataloader-php Version ^1
symfony/dependency-injection Version ^5.4 || ^6.3 || ^7.0
The package overblog/dataloader-bundle contains the following files
Loading the files please wait ....