PHPackages                             solve-x/view-model - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. solve-x/view-model

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

solve-x/view-model
==================

A more structured way of processing requests (inspired by ASP.NET)

v0.1.11(8y ago)6466MITPHP

Since Aug 26Pushed 8y ago3 watchersCompare

[ Source](https://github.com/solve-x/view-model)[ Packagist](https://packagist.org/packages/solve-x/view-model)[ RSS](/packages/solve-x-view-model/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (5)Versions (15)Used By (0)

ViewModel
=========

[](#viewmodel)

[Model validation in ASP.NET Core MVC](https://docs.microsoft.com/en-us/aspnet/core/mvc/models/validation)

Note: this library is still in beta. We might make incompatible changes until version 1.

A short example:

```
