PHPackages                             bahadirbirsoz/converter - 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. bahadirbirsoz/converter

ActiveLibrary

bahadirbirsoz/converter
=======================

A class library to convert c# or typescript entity files to dart entity files.

1.0.1(5y ago)035MITPHP

Since Sep 27Pushed 5y ago1 watchersCompare

[ Source](https://github.com/bahadirbirsoz/converter)[ Packagist](https://packagist.org/packages/bahadirbirsoz/converter)[ RSS](/packages/bahadirbirsoz-converter/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)DependenciesVersions (6)Used By (0)

The Converter Library
=====================

[](#the-converter-library)

A class library to convert c# entity files to dart entity files.

The idea is to read and parse given file in c# and export dart files with .toJson .fromJson .toMap .fromMap .fromJsonArray methods and parsing json inputs in given entity.

Parser and the writer is planned as abstract classes. But it's a little bir hard to implement an abstract class that applies multiple programming languages. Oh the other hand oop concept is about the same. So, writer is more applicable for abstraction.

Writer will depend on template rendering. So a template engine shall be added to this.

In the end, this class may convert entities from various languages to various languages. It may also have some database reading or writing capabilities.

Years later, TypesScript parser added.

### Docker Install

[](#docker-install)

To install this library as docker image, I'm working on it. There are a few issues about host file system

### Install

[](#install)

To install this library as global, you can add path of `bin` directory to your `PATH` variable.

### Usage

[](#usage)

Currently converting with a config file is supportted.

```

{
  "source": "entities",
  "source_ext": "cs", // or "ts"
  "target": "export",
  "target_ext": "dart"
}

```

Run followig `conv `

### API

[](#api)

You can read the code for the moment.

#### TESTS

[](#tests)

Tests may include checking if the code is the same after a few conversion.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~4 days

Total

2

Last Release

2049d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/12525075?v=4)[bahadirbirsoz](/maintainers/bahadirbirsoz)[@bahadirbirsoz](https://github.com/bahadirbirsoz)

---

Top Contributors

[![bahadirbirsoz](https://avatars.githubusercontent.com/u/12525075?v=4)](https://github.com/bahadirbirsoz "bahadirbirsoz (15 commits)")

### Embed Badge

![Health badge](/badges/bahadirbirsoz-converter/health.svg)

```
[![Health](https://phpackages.com/badges/bahadirbirsoz-converter/health.svg)](https://phpackages.com/packages/bahadirbirsoz-converter)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
