PHPackages                             darce/json-model-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. [API Development](/categories/api)
4. /
5. darce/json-model-bundle

ActiveLibrary[API Development](/categories/api)

darce/json-model-bundle
=======================

Darce Json to Model Bundle for Symfony

1.0.0(10mo ago)02proprietaryPHPPHP ^7.1.3

Since Jun 23Pushed 10mo agoCompare

[ Source](https://github.com/francesco-di-marcantonio/darce-json-model-bundle)[ Packagist](https://packagist.org/packages/darce/json-model-bundle)[ RSS](/packages/darce-json-model-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (12)Versions (2)Used By (0)

**Json To Model Bundle**

Il bundle fornisce la possibilità di auto-generare una struttura di classi a partire da un json. Ogni classe generata conterrà:

- Attributi privati della classe con annotation @var e @JmsSerializer\\Type
- Metodi get di ogni attributo generato

Se il json contiene al suo interno degli oggetti il bundle genera automaticamente classi ad hoc anche per quest'ultimi.

**Utilizzo**

Per auto-generare la struttura di classi il bundle mette a disposizione un Command `darce-json-model:make-model` che prende in input 4 possibili argomenti:

- REQUIRED: Json di cui generare le classi
- REQUIRED: Nome della classe "root" da generare
- OPTIONAL: Path relativo in cui generare le classi (di default è 'src/Model/Api')
- OPTIONAL: Namespace in cui devono essere definite le classi (di default è 'App\\Model\\Api')

Il command prevede anche le seguenti opzioni:

- --strict-type: Aggiunge `declare(strict_types=1);` ad ogni classe generata

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance53

Moderate activity, may be stable

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

329d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9ae78d666d6cad0d400ea258ffcb7b1a034dc4e135c7eff31c538671695232d8?d=identicon)[francesco\_dimarcantonio](/maintainers/francesco_dimarcantonio)

---

Top Contributors

[![francesco-oghabi](https://avatars.githubusercontent.com/u/98045367?v=4)](https://github.com/francesco-oghabi "francesco-oghabi (2 commits)")

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/darce-json-model-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/darce-json-model-bundle/health.svg)](https://phpackages.com/packages/darce-json-model-bundle)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[kimai/kimai

Kimai - Time Tracking

4.6k7.4k1](/packages/kimai-kimai)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)

PHPackages © 2026

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