Download the PHP package arxy/dataloader-bundle without Composer
On this page you can find all versions of the php package arxy/dataloader-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download arxy/dataloader-bundle
More information about arxy/dataloader-bundle
Files in arxy/dataloader-bundle
Download arxy/dataloader-bundle
More information about arxy/dataloader-bundle
Files in arxy/dataloader-bundle
Vendor arxy
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 2 / 3 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
>=7.2
overblog/dataloader-php Version ^0.5.0 || ^0.6.0
symfony/dependency-injection Version ^4.3 || ^5.0
overblog/dataloader-php Version ^0.5.0 || ^0.6.0
symfony/dependency-injection Version ^4.3 || ^5.0
The package arxy/dataloader-bundle contains the following files
Loading the files please wait ....