FindSoftware

Laravel Data

Laravel package that turns PHP classes into data objects for validation, transformation and TypeScript definitions.

Laravel Data is a PHP package for Laravel that describes data once, as a PHP class that extends the package’s Data class. From that class the package creates data objects from request data and validates them, transforms them into resources like Laravel’s API resources, and generates TypeScript definitions for a frontend. The documentation describes how to define and use the classes.

Identity

Status
Active
Maintainer
Spatie BVBA4
First release
20218
Headquarters
Belgium4

Rendering and deploy

Install with
composer require3

Releases

Current major version
47
Last release
2026-10-267

Adoption

GitHub stars
1,8022
Packagist downloads
49,863,31610
Contributors
1789
Dependent repositories
18911
Dependent packages
22911

Why these figures do not compare

Sources

  1. 2026-11-16: links, Categories, Built on
    spatie.be/docs/laravel-data/v4/introduction
  2. 2026-11-16: links, Written in, License, GitHub stars
    api.github.com/repos/spatie/laravel-data
  3. 2026-11-16: links, Install with
    raw.githubusercontent.com/spatie/laravel-data/main/README.md
  4. 2026-11-16: Maintainer, Headquarters
    spatie.be/privacy
  5. 2026-11-16: Runtime, Minimum runtime
    raw.githubusercontent.com/spatie/laravel-data/4.23.1/composer.json
  6. 2026-11-16: License, License model
    raw.githubusercontent.com/spatie/laravel-data/main/LICENSE.md
  7. 2026-11-16: Current major version, Last release
    api.github.com/repos/spatie/laravel-data/releases
  8. 2026-11-16: First release
    repo.packagist.org/p2/spatie/laravel-data.json
  9. 2026-11-16: Contributors
    api.github.com/repos/spatie/laravel-data/contributors?per_page=1
  10. 2026-11-16: Packagist downloads
    packagist.org/packages/spatie/laravel-data.json
  11. 2026-11-16: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/packagist.org/packages/spatie%2Flaravel-data
  12. 2026-11-16: links
    spatie.be/docs/laravel-data/v4/third-party-packages

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON