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

ActiveSymfony-bundle

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

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

Since Feb 28Pushed 3w 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 today

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

40

—

FairBetter than 88% of packages

Maintenance95

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

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

[symfony/form

Allows to easily create, process and reuse HTML forms

2.8k148.9M2.5k](/packages/symfony-form)[symfony/security-http

Symfony Security Component - HTTP Integration

1.7k160.2M186](/packages/symfony-security-http)[lexik/jwt-authentication-bundle

This bundle provides JWT authentication for your Symfony REST API

2.6k57.5M185](/packages/lexik-jwt-authentication-bundle)[api-platform/core

Build a fully-featured hypermedia or GraphQL API in minutes!

2.6k47.0M206](/packages/api-platform-core)[nelmio/alice

Expressive fixtures generator

2.5k42.8M126](/packages/nelmio-alice)[vich/uploader-bundle

Ease file uploads attached to entities

1.9k25.4M107](/packages/vich-uploader-bundle)

PHPackages © 2026

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