{"id":37000511,"url":"https://github.com/deniskorbakov/laravel-data-scribe","last_synced_at":"2026-01-14T00:03:19.544Z","repository":{"id":307856060,"uuid":"1030741913","full_name":"deniskorbakov/laravel-data-scribe","owner":"deniskorbakov","description":"⚡️ A Scribe Plugin to generate API doc from spatie/laravel-data","archived":false,"fork":false,"pushed_at":"2025-11-21T15:43:02.000Z","size":102,"stargazers_count":10,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-27T14:51:54.108Z","etag":null,"topics":["laravel-data","php","plugins","scribe"],"latest_commit_sha":null,"homepage":"","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/deniskorbakov.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":"2025-08-02T08:15:08.000Z","updated_at":"2025-11-21T15:43:04.000Z","dependencies_parsed_at":"2025-08-02T17:37:08.356Z","dependency_job_id":"493f076e-d37d-40bd-906b-7c1c53f6afd5","html_url":"https://github.com/deniskorbakov/laravel-data-scribe","commit_stats":null,"previous_names":["deniskorbakov/laravel-data-scribe"],"tags_count":5,"template":false,"template_full_name":"deniskorbakov/skeleton-php-docker","purl":"pkg:github/deniskorbakov/laravel-data-scribe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deniskorbakov%2Flaravel-data-scribe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deniskorbakov%2Flaravel-data-scribe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deniskorbakov%2Flaravel-data-scribe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deniskorbakov%2Flaravel-data-scribe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deniskorbakov","download_url":"https://codeload.github.com/deniskorbakov/laravel-data-scribe/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deniskorbakov%2Flaravel-data-scribe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28406468,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T21:51:37.118Z","status":"ssl_error","status_checked_at":"2026-01-13T21:45:14.585Z","response_time":56,"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":["laravel-data","php","plugins","scribe"],"created_at":"2026-01-14T00:03:18.932Z","updated_at":"2026-01-14T00:03:19.533Z","avatar_url":"https://github.com/deniskorbakov.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel Data Scribe\n\n\u003ca href=\"https://github.com/deniskorbakov/laravel-data-scribe\"\u003e\u003cimg alt=\"GitHub Workflow Status\" src=\"https://github.com/deniskorbakov/laravel-data-scribe/actions/workflows/lint.yml/badge.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/deniskorbakov/laravel-data-scribe\"\u003e\u003cimg alt=\"GitHub Workflow Status\" src=\"https://github.com/deniskorbakov/laravel-data-scribe/actions/workflows/tests.yml/badge.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/deniskorbakov/laravel-data-scribe\"\u003e\u003cimg alt=\"Total Downloads\" src=\"https://img.shields.io/packagist/dt/deniskorbakov/laravel-data-scribe\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/deniskorbakov/laravel-data-scribe\"\u003e\u003cimg alt=\"Latest Version\" src=\"https://img.shields.io/packagist/v/deniskorbakov/laravel-data-scribe\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/deniskorbakov/laravel-data-scribe\"\u003e\u003cimg alt=\"License\" src=\"https://img.shields.io/packagist/l/deniskorbakov/laravel-data-scribe\"\u003e\u003c/a\u003e\n\n[This package](https://packagist.org/packages/deniskorbakov/laravel-data-scribe) is intended for [scribe](https://github.com/knuckleswtf/scribe) business with [laravel-data](https://github.com/spatie/laravel-data)\n\nBy default, [scribe](https://github.com/knuckleswtf/scribe) cannot generate documentation from [laravel-data](https://github.com/spatie/laravel-data), so I propose solutions in the form of this package with plugins\n\n| Scribe Support                | Description                            |     Plugin Name      | Status |\n|:------------------------------|:---------------------------------------|:--------------------:|:------:|\n| ``Body Parameters``           | Generate Body Params from laravel-data | LaravelDataBodyParam |   ✅    |\n| ``Attr Body Parameters`` | Generate Body Params Attribute         | LaravelDataBodyParam |   ✅    |\n| ``Responses``                 | Generate Response from laravel-data    |          🚫          |   ❌    |\n| ``Custom Validation``         | Support Custom Rules in laravel-data   |          🚫          |   ❌    |\n\n\u003eAttribute Body Parameters - attribute has higher priority than body param from properties\n\n## 📝 Getting Started\n\nInstall the package via composer:\n```shell\ncomposer require deniskorbakov/laravel-data-scribe\n```\n\nAdd the plugin in your `config/scribe.php` file to the very end of the array:\n```php\n    'strategies' =\u003e [\n        'bodyParameters'  =\u003e [\n            ...Defaults::BODY_PARAMETERS_STRATEGIES,\n            DenisKorbakov\\LaravelDataScribe\\LaravelDataBodyParam::class,\n        ],\n    ],\n```\n\nRun the command to generate documentation:\n```bash\nphp artisan scribe:generate\n```\n\n## ⚒️ Local Development\n\nClone this repository:\n```bash\ngit clone https://github.com/deniskorbakov/laravel-data-scribe\n```\n\nLet's go to the cloned repository:\n```bash\ncd laravel-data-scribe\n```\n\nTo start, initialize the project and use it:\n```bash\nmake init\n```\n\n## 🧪 Testing\n\nYou can run the command for testing after the step with local installation\n\nRun Lint and Analyze code(phpstan/rector/phpcs):\n```bash\nmake lint\n```\n\nRun Unit tests:\n```bash\nmake test\n```\n\nRun mutation tests:\n```bash\nmake test-mutation\n```\n\nRun test coverage:\n```bash\nmake test-coverage\n```\n\n## 🤝 Feedback\n\nWe appreciate your support and look forward to making our product even better with your help!\n\n[@Denis Korbakov](https://github.com/deniskorbakov)\n\n---\n\n📝 Generated from [deniskorbakov/skeleton-php-docker](https://github.com/deniskorbakov/skeleton-php-docker)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeniskorbakov%2Flaravel-data-scribe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeniskorbakov%2Flaravel-data-scribe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeniskorbakov%2Flaravel-data-scribe/lists"}