PHPackages                             kif/doctrine\_typescript\_bundle - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. kif/doctrine\_typescript\_bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

kif/doctrine\_typescript\_bundle
================================

convert doctrine entities into typescript classes

6143PHP

Since Nov 6Pushed 11y agoCompare

[ Source](https://github.com/Kifah/KifDoctrineToTypescriptBundle)[ Packagist](https://packagist.org/packages/kif/doctrine_typescript_bundle)[ RSS](/packages/kif-doctrine-typescript-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

KifDoctrineToTypescriptBundle
=============================

[](#kifdoctrinetotypescriptbundle)

\#Main Concept

This is a command line tool for converting doctrine entities into [Typescript](http://www.typescriptlang.org/) language files. TypeScript is a typed superset of JavaScript that compiles to plain JavaScript, and heavily uses OOP-Terminolgy and structuring.

A typical Scenario, is if you have a frontEnd based on Typscript/Javascript, and a backend based on symfony/php, and you want to have a unified DTO/MODEL representation between both. So if you structure something using doctrine, you want it autoamtically generated in your javascript part of the project, without needed to write the code for it.

\##Installation

```
$ php composer.phar require kif/doctrine_typescript_bundle 'dev-master'
```

- activate the bundle in your `app/AppKernel.php` file

```
