PHPackages                             nsbx/model-builder-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. nsbx/model-builder-bundle

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

nsbx/model-builder-bundle
=========================

1.0.0(3mo ago)029MITPHPPHP &gt;=8.1

Since Feb 28Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/Nsbx/model-builder-bundle)[ Packagist](https://packagist.org/packages/nsbx/model-builder-bundle)[ RSS](/packages/nsbx-model-builder-bundle/feed)WikiDiscussions master Synced 3w ago

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

Model Builder Bundle
====================

[](#model-builder-bundle)

Summary
-------

[](#summary)

This bundle was created to ease the process of creating JSON objects from external API responses or any JSON that follows a specific model.

With this bundle, you can simply create a model and implement the abstract class "AbstractModelBuilder".

Once your model extends this class, you only need to implement the getMapping() function.

This function should return an Mapping object that describes how to map the JSON data to the model properties.

The Bundle is easy to use and allows efficient processing of JSON data from an API. You can focus on the logic of your application rather than spending time writing code for handling and parsing JSON data from APIs.

If you need example, check the [Model](tests%2FModel) folder in the testing section.

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

[](#installation)

`composer require nsbx/model-builder-bundle`

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance78

Regular maintenance activity

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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

Unknown

Total

1

Last Release

115d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ff6cea1f1b36604506a6e5a3da49e534579805f53765ff56e6111c43e8eac9f6?d=identicon)[Nsbx](/maintainers/Nsbx)

---

Top Contributors

[![Nsbx](https://avatars.githubusercontent.com/u/8930930?v=4)](https://github.com/Nsbx "Nsbx (7 commits)")

### Embed Badge

![Health badge](/badges/nsbx-model-builder-bundle/health.svg)

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

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.5M373](/packages/easycorp-easyadmin-bundle)[symfony/ux-autocomplete

JavaScript Autocomplete functionality for Symfony

635.5M36](/packages/symfony-ux-autocomplete)[solspace/craft-freeform

The most flexible and user-friendly form building plugin!

53675.5k15](/packages/solspace-craft-freeform)[cognesy/instructor-php

The complete AI toolkit for PHP: unified LLM API, structured outputs, agents, and coding agent control

318117.1k1](/packages/cognesy-instructor-php)[api-platform/symfony

Symfony API Platform integration

354.0M110](/packages/api-platform-symfony)[symfony/ai-platform

PHP library for interacting with AI platform provider.

521.2M216](/packages/symfony-ai-platform)

PHPackages © 2026

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