PackageTrack
Sign in Get early access

spatie/laravel-view-models

View models in Laravel

1.6.2 3.9M downloads/mo #2803 most downloaded on Packagist spatie/laravel-view-models

What this package is like to depend on

Last release 6 months ago

21 Feb 2026

Ships fairly regularly

a new release about every 6 months

Nearly every release is documented

notes for 18 of 19 stable releases

Nothing withdrawn

no release was ever pulled

8 years old

19 releases · first in 2018

1 release in the last 12 months

see the full history below

Release timeline

19 releases · Sep 2018 to Feb 2026
2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 19
  1. 1.6.2 21 Feb 2026
    Release notes

    Add Laravel 13 support

    Open source →
  2. 1.6.1 14 Feb 2025
    Release notes

    What's Changed

    Full Changelog: 1.6.0...1.6.1

    Open source →
    Release notes

    What's Changed

    • Laravel 12.x Compatibility by @laravel-shift in https://github.com/spatie/laravel-view-models/pull/53

    Full Changelog: https://github.com/spatie/laravel-view-models/compare/1.6.0...1.6.1

    Open source →
  3. 1.6.0 13 Mar 2024
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 1.5.4...1.6.0

    Open source →
    Release notes

    What's Changed

    • Update broken shield badge by @erikn69 in https://github.com/spatie/laravel-view-models/pull/51
    • Laravel 11.x Compatibility by @laravel-shift in https://github.com/spatie/laravel-view-models/pull/52

    New Contributors

    • @erikn69 made their first contribution in https://github.com/spatie/laravel-view-models/pull/51

    Full Changelog: https://github.com/spatie/laravel-view-models/compare/1.5.4...1.6.0

    Open source →
  4. 1.5.4 01 Feb 2023
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 1.5.3...1.5.4

    Open source →
    Release notes

    What's Changed

    • Laravel 10.x Compatibility by @laravel-shift in https://github.com/spatie/laravel-view-models/pull/50

    New Contributors

    • @laravel-shift made their first contribution in https://github.com/spatie/laravel-view-models/pull/50

    Full Changelog: https://github.com/spatie/laravel-view-models/compare/1.5.3...1.5.4

    Open source →
  5. 1.5.3 30 Jan 2023
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 1.5.2...1.5.3

    Open source →
    Release notes

    What's Changed

    • Update README.md in https://github.com/spatie/laravel-view-models/pull/45
    • Add PHP 8.2 Support by @patinthehat in https://github.com/spatie/laravel-view-models/pull/46
    • Convert all tests to Pest by @alexmanase in https://github.com/spatie/laravel-view-models/pull/47
    • Implement Snake Case Mapping for ViewModel Properties and Methods by @gjinali in https://github.com/spatie/laravel-view-models/pull/48

    New Contributors

    • @alexmanase made their first contribution in https://github.com/spatie/laravel-view-models/pull/47
    • @gjinali made their first contribution in https://github.com/spatie/laravel-view-models/pull/48

    Full Changelog: https://github.com/spatie/laravel-view-models/compare/1.5.2...1.5.3

    Open source →
  6. 1.5.2 23 Feb 2022
    Release notes

    What's Changed

    • Always use default ViewModels namespace as a prefix by @jdrieghe in #43

    New Contributors

    Full Changelog: 1.5.1...1.5.2

    Open source →
  7. 1.5.1 13 Jan 2022
    Release notes

    What's Changed

    Full Changelog: 1.5.0...1.5.1

    Open source →
    Release notes
    • Fix for Data Property duplication (#41)
    Open source →
  8. 1.5.0 12 Jan 2022
    Release notes
    • Allow Laravel 9
    Open source →
    Release notes
    • Allow Laravel 9
    Open source →
  9. 1.4.0 06 Dec 2021
    Release notes
    • Allow $data to be passed to view (#39)
    Open source →
    Release notes
    • Allow $data to be passed to view (#39)
    Open source →
  10. 1.3.2 30 Nov 2020
    Release notes
    • add support for PHP 8
    Open source →
    Release notes
    • add support for PHP 8
    Open source →
  11. 1.3.1 08 Sep 2020
    Release notes
    • Add support for Laravel 8
    Open source →
  12. 1.3.0 03 Mar 2020
    Release notes
    • Add support for Laravel 7
    Open source →
  13. 1.2.0 04 Sep 2019
    Release notes
    • Add support or Laravel 6
    Open source →
  14. 1.1.1 28 Feb 2019
    Release notes
    • Add support for Laravel 5.8
    Open source →
  15. 1.1.0 26 Sep 2018
    Release notes
    • Add a make:view-model command
    Open source →
  16. 1.0.2 12 Sep 2018
    Release notes
    • Properly ignore magic methods
    Open source →
  17. 1.0.1 12 Sep 2018
    Release notes
    • Fix JSON response being wrongly encoded
    Open source →
  18. 1.0.0 12 Sep 2018
    Release notes
    • initial release
    Open source →
  19. 0.0.1 12 Sep 2018

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive