PHPackages                             marothyzsolt/viewmodel - 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. [Templating &amp; Views](/categories/templating)
4. /
5. marothyzsolt/viewmodel

ActiveLibrary[Templating &amp; Views](/categories/templating)

marothyzsolt/viewmodel
======================

:description

017PHP

Since Jul 11Pushed 6y agoCompare

[ Source](https://github.com/marothyzsolt/ViewModel)[ Packagist](https://packagist.org/packages/marothyzsolt/viewmodel)[ RSS](/packages/marothyzsolt-viewmodel/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

ViewModel
=========

[](#viewmodel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/211495ba6eb8202e23b22c559e36cda9c482253afd49e2c22575a0c9fbfe3ca1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d61726f7468797a736f6c742f766965776d6f64656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/marothyzsolt/viewmodel)[![Total Downloads](https://camo.githubusercontent.com/2cf6bf1736305acb6a8c8964e92aab816dbfccac88b512f8398af7f1e53c7abb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d61726f7468797a736f6c742f766965776d6f64656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/marothyzsolt/viewmodel)[![Build Status](https://camo.githubusercontent.com/6d79bf9ca6d125c73effaec3cdf46a705ac7295c44852cd29f8dd7cd343b12dd/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6d61726f7468797a736f6c742f766965776d6f64656c2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/marothyzsolt/viewmodel)[![StyleCI](https://camo.githubusercontent.com/cb13a877afd1dbe223c631789c3f922d3ace958fdb334a9cce9b26afefbc2ebd/68747470733a2f2f7374796c6563692e696f2f7265706f732f31323334353637382f736869656c64)](https://styleci.io/repos/12345678)

This is where your description should go. Take a look at [contributing.md](contributing.md) to see a to do list.

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

[](#installation)

Via Composer

```
$ composer require marothyzsolt/viewmodel
```

Usage
-----

[](#usage)

Available Commands
------------------

[](#available-commands)

```
$ php artisan make:view-model
```

Create a new empty View Model class.

```
$ php artisan make:view-model-component
```

```
$ php artisan make:view-model-component --base
```

Change log
----------

[](#change-log)

Please see the [changelog](changelog.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [contributing.md](contributing.md) for details and a todolist.

Security
--------

[](#security)

If you discover any security related issues, please email author email instead of using the issue tracker.

Credits
-------

[](#credits)

- [Marothy Zsolt](https://github.com/marothyzsolt)
- [All Contributors](../../contributors)

License
-------

[](#license)

license. Please see the [license file](license.md) for more information.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity36

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.

### Community

Maintainers

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

---

Top Contributors

[![marothyzsolt](https://avatars.githubusercontent.com/u/44102281?v=4)](https://github.com/marothyzsolt "marothyzsolt (9 commits)")

### Embed Badge

![Health badge](/badges/marothyzsolt-viewmodel/health.svg)

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

###  Alternatives

[mustache/mustache

A Mustache implementation in PHP.

3.3k44.6M291](/packages/mustache-mustache)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[whitecube/nova-flexible-content

Flexible Content &amp; Repeater Fields for Laravel Nova.

8053.0M25](/packages/whitecube-nova-flexible-content)[mopa/bootstrap-bundle

Easy integration of twitters bootstrap into symfony2

7042.9M33](/packages/mopa-bootstrap-bundle)[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3871.2M](/packages/limenius-react-bundle)[nicmart/string-template

StringTemplate is a very simple string template engine for php. I've written it to have a thing like sprintf, but with named and nested substutions.

2101.7M30](/packages/nicmart-string-template)

PHPackages © 2026

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