{"id":44064076,"url":"https://github.com/fresns/dto","last_synced_at":"2026-05-02T22:01:16.294Z","repository":{"id":62507381,"uuid":"466373490","full_name":"fresns/dto","owner":"fresns","description":"Fresns data transfer object extension package for easy generation of data rules and inspection of transfer data. Works with Laravel projects.","archived":false,"fork":false,"pushed_at":"2024-06-18T12:31:20.000Z","size":2145,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-08T09:36:50.083Z","etag":null,"topics":["dto","laravel","larvael-dto","php"],"latest_commit_sha":null,"homepage":"https://pm.fresns.org/dto/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fresns.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-03-05T06:44:12.000Z","updated_at":"2024-06-18T12:31:24.000Z","dependencies_parsed_at":"2022-11-02T10:15:46.268Z","dependency_job_id":"3936a750-5006-4812-9dc2-30957c3a3437","html_url":"https://github.com/fresns/dto","commit_stats":{"total_commits":16,"total_committers":3,"mean_commits":5.333333333333333,"dds":0.4375,"last_synced_commit":"cc98e8873ad34a91cb6236692f56679262b6c6ea"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/fresns/dto","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fresns%2Fdto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fresns%2Fdto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fresns%2Fdto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fresns%2Fdto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fresns","download_url":"https://codeload.github.com/fresns/dto/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fresns%2Fdto/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32550914,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T21:31:48.061Z","status":"ssl_error","status_checked_at":"2026-05-02T21:31:46.574Z","response_time":132,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["dto","laravel","larvael-dto","php"],"created_at":"2026-02-08T03:10:08.601Z","updated_at":"2026-05-02T22:01:16.258Z","avatar_url":"https://github.com/fresns.png","language":"PHP","funding_links":["https://github.com/sponsors/fresns"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003ca href=\"https://fresns.org\" target=\"_blank\"\u003e\u003cimg src=\"https://assets.fresns.com/images/logos/fresns.png\" width=\"300\"\u003e\u003c/a\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://img.shields.io/badge/PHP-%5E7.0%7C%5E8.0-green\" alt=\"PHP\"\u003e\n\u003cimg src=\"https://img.shields.io/badge/License-Apache--2.0-blue\" alt=\"License\"\u003e\n\u003c/p\u003e\n\n## About DTO\n\nFresns **data transfer object** extension package for easy generation of data rules and inspection of transfer data. Works with **Laravel** projects.\n\n- Guide: [https://pm.fresns.org/dto/](https://pm.fresns.org/dto/)\n\n## Sponsors\n\nFresns is an Apache-2.0-licensed open source project with its ongoing development made possible entirely by the support of these awesome backers. If you'd like to join them, please consider [sponsoring Fresns development](https://github.com/sponsors/fresns).\n\n## Install\n\nTo install through Composer, by run the following command:\n\n```bash\ncomposer require fresns/dto\n```\n\n## Generate DTO\n\n```php\n// Generate a new DTO (path: /app/DTO/)\nphp artisan make:dto BaseDTO\n\n// Generate a new DTO(to the specified path)\nphp artisan make:dto BaseDTO --path /app/Fresns/Panel\n```\n\nSee the Laravel documentation for the rules that can be used for validation.\n\n- [https://laravel.com/docs/9.x/validation#available-validation-rules](https://laravel.com/docs/9.x/validation#available-validation-rules)\n- [https://laravel.com/docs/10.x/validation#available-validation-rules](https://laravel.com/docs/10.x/validation#available-validation-rules)\n- [https://laravel.com/docs/11.x/validation#available-validation-rules](https://laravel.com/docs/11.x/validation#available-validation-rules)\n\n## Contributing\n\nYou can contribute in one of three ways:\n\n1. File bug reports using the [issue tracker](https://github.com/fresns/dto/issues).\n2. Answer questions or fix bugs on the [issue tracker](https://github.com/fresns/dto/issues).\n3. Contribute new features or update the wiki.\n\n*The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.*\n\n## License\n\nFresns DTO is open-sourced software licensed under the [Apache-2.0 license](https://github.com/fresns/dto/blob/main/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffresns%2Fdto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffresns%2Fdto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffresns%2Fdto/lists"}