Download the PHP package sfneal/view-models without Composer
On this page you can find all versions of the php package sfneal/view-models. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sfneal/view-models
More information about sfneal/view-models
Files in sfneal/view-models
Package view-models
Short Description spatie/view-models wrapper with built in response caching.
License MIT
Homepage https://github.com/sfneal/view-models
Informations about the package view-models
View Models
spatie/view-models wrapper with built in response caching
Installation
You can install the package via composer:
Usage
A view model is a class where you can put some complex logic for your views. This will make your controllers a bit lighter. You can create a view model by extending the provided Sfneal\ViewModels\AbstractViewModel.
And used in controllers like so:
Testing
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Stephen Neal
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
PHP Package Boilerplate
This package was generated using the PHP Package Boilerplate.
All versions of view-models with dependencies
sfneal/caching Version ^2.0|^3.0|^4.0
sfneal/laravel-helpers Version ^2.4
sfneal/queueables Version ^2.0
sfneal/redis-helpers Version ^1.2|^2.0|^3.0
sfneal/string-helpers Version ^1.0
spatie/laravel-view-models Version ^1.1