PHPackages                             owlnext-fr/dto-export - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. owlnext-fr/dto-export

ActiveLibrary[API Development](/categories/api)

owlnext-fr/dto-export
=====================

Symfony + API Platform vendor for exporting API DTOs into other languages for front-end easy integration.

1.0.2(2y ago)032MITPHPPHP &gt;= 8.0

Since Oct 18Pushed 2y agoCompare

[ Source](https://github.com/owlnext-fr/dto-export)[ Packagist](https://packagist.org/packages/owlnext-fr/dto-export)[ RSS](/packages/owlnext-fr-dto-export/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (4)Used By (0)

dto-export
==========

[](#dto-export)

Symfony + API Platform vendor for exporting API DTOs into other languages for front-end easy integration.

Installation
------------

[](#installation)

### 1. Install the bundle

[](#1-install-the-bundle)

```
composer require owlnext-fr/dto-export
```

### 2. Configure twig paths

[](#2-configure-twig-paths)

```
# config/packages/twig.yaml
twig:
  #...
  paths:
    '%kernel.project_dir%/vendor/owlnext-fr/dto-export/templates': 'owlnext_fr.dto_export'
```

Usage
-----

[](#usage)

### 1. Create a DTO class

[](#1-create-a-dto-class)

```
# src/Dto/Output/UserOutputDTO.php
