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(2mo ago)029MITPHPPHP &gt;=8.1

Since Feb 28Pushed 2mo 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 1mo 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

37

—

LowBetter than 83% of packages

Maintenance86

Actively maintained with recent releases

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

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

70d 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

[winzou/state-machine

A very lightweight yet powerful PHP state machine

52113.7M18](/packages/winzou-state-machine)[hirethunk/verbs

An event sourcing package that feels nice.

513162.9k6](/packages/hirethunk-verbs)[cognesy/instructor-php

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

310107.9k1](/packages/cognesy-instructor-php)[symfony/ai-platform

PHP library for interacting with AI platform provider.

51927.7k134](/packages/symfony-ai-platform)[solspace/craft-freeform

The most flexible and user-friendly form building plugin!

52664.9k12](/packages/solspace-craft-freeform)[symfony/ai-agent

PHP library for building agentic applications.

30536.7k44](/packages/symfony-ai-agent)

PHPackages © 2026

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