Download the PHP package dmytrof/import-fractal-bundle without Composer
On this page you can find all versions of the php package dmytrof/import-fractal-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package import-fractal-bundle
DmytrofImportFractalBundle
This bundle helps you to implement Fractal by League for DmytrofImportBundle
Requirements
- PHP 8.4 or higher
- Symfony 6.4, 7.x or 8.x
- dmytrof/import-bundle 1.24+, dmytrof/fractal-bundle 1.4+, dmytrof/models-management-fractal-bundle 1.4+
Installation
Step 1: Install the bundle
$ composer require dmytrof/import-fractal-bundle
Step 2: Enable the bundle
<?php
// config/bundles.php
return [
// ...
Dmytrof\ImportFractalBundle\DmytrofImportFractalBundle::class => ['all' => true],
];
The bundle registers Fractal transformers for ImportBundle models:
Dmytrof\ImportFractalBundle\Transformer\TaskTransformer(includes:importStatistics,link,paginationData,importer,reader)Dmytrof\ImportFractalBundle\Transformer\ItemTransformer(includes:data,formData,task,entryId)Dmytrof\ImportFractalBundle\Transformer\ImporterTransformer(includes:options)Dmytrof\ImportFractalBundle\Transformer\ReaderTransformer(includes:options)
Usage:
use Dmytrof\FractalBundle\Service\FractalManager;
use Dmytrof\ImportFractalBundle\Transformer\TaskTransformer;
$data = $fractalManager->parseIncludes('importer,reader')->getModelData($task, TaskTransformer::class);
Tests
$ composer install
$ vendor/bin/phpunitAll versions of import-fractal-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.4
dmytrof/fractal-bundle Version ^1.4
dmytrof/import-bundle Version ^1.24
dmytrof/models-management-fractal-bundle Version ^1.4
symfony/config Version ^6.4 || ^7.0 || ^8.0
symfony/dependency-injection Version ^6.4 || ^7.0 || ^8.0
symfony/http-kernel Version ^6.4 || ^7.0 || ^8.0
dmytrof/fractal-bundle Version ^1.4
dmytrof/import-bundle Version ^1.24
dmytrof/models-management-fractal-bundle Version ^1.4
symfony/config Version ^6.4 || ^7.0 || ^8.0
symfony/dependency-injection Version ^6.4 || ^7.0 || ^8.0
symfony/http-kernel Version ^6.4 || ^7.0 || ^8.0
The package dmytrof/import-fractal-bundle contains the following files
Loading the files please wait ...