{"id":15287267,"url":"https://github.com/stasplov/stasplovdtovalidatorbundle","last_synced_at":"2026-01-05T05:43:23.935Z","repository":{"id":216229325,"uuid":"740736133","full_name":"StasPlov/StasPlovDtoValidatorBundle","owner":"StasPlov","description":"Validating the Request by DTO in the context of symfony","archived":false,"fork":false,"pushed_at":"2024-04-18T06:41:58.000Z","size":45,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-24T02:48:20.564Z","etag":null,"topics":["api","bundle","dto","rest","rest-api","symfony","validate","validator"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/stas-plov/dto-validator-bundle","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/StasPlov.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-09T00:40:41.000Z","updated_at":"2024-02-25T14:40:00.000Z","dependencies_parsed_at":"2024-01-26T09:28:31.726Z","dependency_job_id":"a02e203f-8a64-49f2-ad67-18d6dbd487cd","html_url":"https://github.com/StasPlov/StasPlovDtoValidatorBundle","commit_stats":null,"previous_names":["stasplov/stasplovdtovalidatorbundle"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StasPlov%2FStasPlovDtoValidatorBundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StasPlov%2FStasPlovDtoValidatorBundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StasPlov%2FStasPlovDtoValidatorBundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StasPlov%2FStasPlovDtoValidatorBundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StasPlov","download_url":"https://codeload.github.com/StasPlov/StasPlovDtoValidatorBundle/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245200679,"owners_count":20576673,"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":["api","bundle","dto","rest","rest-api","symfony","validate","validator"],"created_at":"2024-09-30T15:27:09.671Z","updated_at":"2026-01-05T05:43:23.878Z","avatar_url":"https://github.com/StasPlov.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Minimum PHP version: 8.2.0](https://img.shields.io/badge/php-8.2.0%2B-blue.svg)](https://packagist.org/packages/stas-plov/dto-validator-bundle)\n[![Latest Stable Version](http://poser.pugx.org/stas-plov/dto-validator-bundle/v)](https://packagist.org/packages/stas-plov/dto-validator-bundle) \n[![Total Downloads](http://poser.pugx.org/stas-plov/dto-validator-bundle/downloads)](https://packagist.org/packages/stas-plov/dto-validator-bundle) \n[![Latest Unstable Version](http://poser.pugx.org/stas-plov/dto-validator-bundle/v/unstable)](https://packagist.org/packages/stas-plov/dto-validator-bundle) \n[![License](http://poser.pugx.org/stas-plov/dto-validator-bundle/license)](https://packagist.org/packages/stas-plov/dto-validator-bundle) \n\n# StasPlovDtoValidatorBundle\n\n## About \n\nThe StasPlovDtoValidatorBundle Validating the Request by DTO in the context of symfony.\n\nThe core idea of StasPlovDtoValidatorBundle is to validate input data in the controller from the Request\nusing so-called DTO (Data Transfer Object) entities.\n\n\n```php\n#[ValidateDto(class: CreateDto::class)]\n#[Route(path: '/create/user', name: 'api-user-create', methods: ['POST'])]\npublic function createUser(CreateDto $createDto): Response {\n\t// ... some code\n}\n```\n\nThe `$createDto` variable will contain all the data described in the corresponding `CreateDto` class.\n\n## Installation\n\nRequire the `stas-plov/dto-validator-bundle` package in your composer.json and update your dependencies:\n\n```bash\ncomposer require stas-plov/dto-validator-bundle\n```\n\nFlex, you'll need to enable it manually as explained [in the docs][1].\n\n## Usage\n\nSee [the documentation][2] for usage instructions.\n\n## License\n\nReleased under the MIT License, see LICENSE.\n\n[1]: https://symfony.com/doc/current/setup/flex.html\n[2]: ./Resources//doc//HowToUse.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstasplov%2Fstasplovdtovalidatorbundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstasplov%2Fstasplovdtovalidatorbundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstasplov%2Fstasplovdtovalidatorbundle/lists"}