{"id":14975188,"url":"https://github.com/wendelladriel/laravel-validated-dto","last_synced_at":"2025-05-14T04:07:02.143Z","repository":{"id":64511681,"uuid":"576281997","full_name":"WendellAdriel/laravel-validated-dto","owner":"WendellAdriel","description":"Data Transfer Objects with validation for Laravel applications","archived":false,"fork":false,"pushed_at":"2025-03-04T13:33:58.000Z","size":14800,"stargazers_count":683,"open_issues_count":3,"forks_count":39,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-10T22:35:01.230Z","etag":null,"topics":["data-transfer-object","dto","laravel","validation"],"latest_commit_sha":null,"homepage":"https://wendell-adriel.gitbook.io/laravel-validated-dto/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WendellAdriel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["WendellAdriel"],"custom":["https://www.paypal.me/wendelladriel"]}},"created_at":"2022-12-09T13:00:41.000Z","updated_at":"2025-04-10T14:19:52.000Z","dependencies_parsed_at":"2024-03-13T13:48:06.241Z","dependency_job_id":"28363f93-e39c-4f03-9e52-0a635b0e5229","html_url":"https://github.com/WendellAdriel/laravel-validated-dto","commit_stats":{"total_commits":145,"total_committers":19,"mean_commits":7.631578947368421,"dds":0.3172413793103448,"last_synced_commit":"07d95d70ccffdb5b048efde46deda8b6faa0be24"},"previous_names":[],"tags_count":49,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WendellAdriel%2Flaravel-validated-dto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WendellAdriel%2Flaravel-validated-dto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WendellAdriel%2Flaravel-validated-dto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WendellAdriel%2Flaravel-validated-dto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WendellAdriel","download_url":"https://codeload.github.com/WendellAdriel/laravel-validated-dto/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254069446,"owners_count":22009556,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-transfer-object","dto","laravel","validation"],"created_at":"2024-09-24T13:51:40.873Z","updated_at":"2025-05-14T04:07:01.986Z","avatar_url":"https://github.com/WendellAdriel.png","language":"PHP","funding_links":["https://github.com/sponsors/WendellAdriel","https://www.paypal.me/wendelladriel"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"https://github.com/WendellAdriel/laravel-validated-dto/raw/main/art/laravel-validated-dto-banner.png\" alt=\"Validated DTO for Laravel\" height=\"300\"/\u003e\n    \u003cp\u003e\n        \u003ch1\u003eValidated DTO for Laravel\u003c/h1\u003e\n        Data Transfer Objects with validation for Laravel applications\n    \u003c/p\u003e\n\u003c/div\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://packagist.org/packages/WendellAdriel/laravel-validated-dto\"\u003e\u003cimg src=\"https://img.shields.io/packagist/v/WendellAdriel/laravel-validated-dto.svg?style=flat-square\" alt=\"Packagist\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://packagist.org/packages/WendellAdriel/laravel-validated-dto\"\u003e\u003cimg src=\"https://img.shields.io/packagist/php-v/WendellAdriel/laravel-validated-dto.svg?style=flat-square\" alt=\"PHP from Packagist\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://packagist.org/packages/WendellAdriel/laravel-validated-dto\"\u003e\u003cimg src=\"https://img.shields.io/badge/Laravel-11.x,%2012.x-brightgreen.svg?style=flat-square\" alt=\"Laravel Version\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/WendellAdriel/laravel-validated-dto/actions\"\u003e\u003cimg alt=\"GitHub Workflow Status (main)\" src=\"https://img.shields.io/github/actions/workflow/status/WendellAdriel/laravel-validated-dto/tests.yml?branch=main\u0026label=Tests\"\u003e \u003c/a\u003e\n\u003c/p\u003e\n\n**Data Transfer Objects (DTOs)** are objects that are used to transfer data between systems. **DTOs** are typically used in applications to provide a simple, consistent format for transferring data between different parts of the application, such as **between the user interface and the business logic**.\n\nThis package provides a base **DTO Class** that can **validate** the data when creating a **DTO**. But why should we do this instead of using the standard **Request** validation?\n\nImagine that now you want to do the same action that you do in an endpoint on a **CLI** command per example. If your validation is linked to the Request you'll have to implement the same validation again.\n\nWith this package you **define the validation once** and can **reuse it where you need**, making your application more **maintainable** and **decoupled**.\n\n## Documentation\n[![Docs Button]][Docs Link] [![DocsRepo Button]][DocsRepo Link]\n\n## Installation\n\n```bash\ncomposer require wendelladriel/laravel-validated-dto\n```\n\n## Credits\n\n- [Wendell Adriel](https://github.com/WendellAdriel)\n- [All Contributors](../../contributors)\n\n## Contributing\n\nCheck the **[Contributing Guide](CONTRIBUTING.md)**.\n\n\u003c!----------------------------------------------------------------------------\u003e\n[Docs Button]: https://img.shields.io/badge/Website-0dB816?style=for-the-badge\u0026logoColor=white\u0026logo=GitBook\n[Docs Link]: https://wendell-adriel.gitbook.io/laravel-validated-dto/\n[DocsRepo Button]: https://img.shields.io/badge/Repository-3884FF?style=for-the-badge\u0026logoColor=white\u0026logo=GitBook\n[DocsRepo Link]: https://github.com/WendellAdriel/laravel-validated-dto-docs\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwendelladriel%2Flaravel-validated-dto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwendelladriel%2Flaravel-validated-dto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwendelladriel%2Flaravel-validated-dto/lists"}