PHPackages                             deniskorbakov/laravel-data-scribe - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. deniskorbakov/laravel-data-scribe

ActiveLibrary[API Development](/categories/api)

deniskorbakov/laravel-data-scribe
=================================

A Scribe Plugin to generate API doc from spatie/laravel-data

v0.0.5(9mo ago)124.3k↓43%1[1 issues](https://github.com/deniskorbakov/laravel-data-scribe/issues)MITPHPPHP &gt;=8.2CI passing

Since Aug 4Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/deniskorbakov/laravel-data-scribe)[ Packagist](https://packagist.org/packages/deniskorbakov/laravel-data-scribe)[ RSS](/packages/deniskorbakov-laravel-data-scribe/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (8)Versions (7)Used By (0)

Laravel Data Scribe
===================

[](#laravel-data-scribe)

[![GitHub Workflow Status](https://github.com/deniskorbakov/laravel-data-scribe/actions/workflows/lint.yml/badge.svg)](https://github.com/deniskorbakov/laravel-data-scribe)[![GitHub Workflow Status](https://github.com/deniskorbakov/laravel-data-scribe/actions/workflows/tests.yml/badge.svg)](https://github.com/deniskorbakov/laravel-data-scribe)[![Total Downloads](https://camo.githubusercontent.com/6caee1dd9bcfcadf07391b922e7f7a58db005635678662290e4fa845e9ae75f9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f64656e69736b6f7262616b6f762f6c61726176656c2d646174612d736372696265)](https://packagist.org/packages/deniskorbakov/laravel-data-scribe)[![Latest Version](https://camo.githubusercontent.com/9ce3413a94839cb0e2cf2bd912d73f91e2330950a8a5facb38af74a161250158/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f64656e69736b6f7262616b6f762f6c61726176656c2d646174612d736372696265)](https://packagist.org/packages/deniskorbakov/laravel-data-scribe)[![License](https://camo.githubusercontent.com/002ada93e206121089ecd38faf2ec4452d6f7a9e45fe6e1ecf61fb75f2eac5fb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f64656e69736b6f7262616b6f762f6c61726176656c2d646174612d736372696265)](https://packagist.org/packages/deniskorbakov/laravel-data-scribe)

[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)

By 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

Scribe SupportDescriptionPlugin NameStatus`Body Parameters`Generate Body Params from laravel-dataLaravelDataBodyParam✅`Attr Body Parameters`Generate Body Params AttributeLaravelDataBodyParam✅`Responses`Generate Response from laravel-data🚫❌`Custom Validation`Support Custom Rules in laravel-data🚫❌> Attribute Body Parameters - attribute has higher priority than body param from properties

📝 Getting Started
-----------------

[](#-getting-started)

Install the package via composer:

```
composer require deniskorbakov/laravel-data-scribe
```

Add the plugin in your `config/scribe.php` file to the very end of the array:

```
    'strategies' => [
        'bodyParameters'  => [
            ...Defaults::BODY_PARAMETERS_STRATEGIES,
            DenisKorbakov\LaravelDataScribe\LaravelDataBodyParam::class,
        ],
    ],
```

Run the command to generate documentation:

```
php artisan scribe:generate
```

⚒️ Local Development
--------------------

[](#️-local-development)

Clone this repository:

```
git clone https://github.com/deniskorbakov/laravel-data-scribe
```

Let's go to the cloned repository:

```
cd laravel-data-scribe
```

To start, initialize the project and use it:

```
make init
```

🧪 Testing
---------

[](#-testing)

You can run the command for testing after the step with local installation

Run Lint and Analyze code(phpstan/rector/phpcs):

```
make lint
```

Run Unit tests:

```
make test
```

Run mutation tests:

```
make test-mutation
```

Run test coverage:

```
make test-coverage
```

🤝 Feedback
----------

[](#-feedback)

We appreciate your support and look forward to making our product even better with your help!

[@Denis Korbakov](https://github.com/deniskorbakov)

---

📝 Generated from [deniskorbakov/skeleton-php-docker](https://github.com/deniskorbakov/skeleton-php-docker)

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance73

Regular maintenance activity

Popularity31

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~4 days

Total

5

Last Release

270d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/110344775?v=4)[Denis](/maintainers/deniskorbakov)[@deniskorbakov](https://github.com/deniskorbakov)

---

Top Contributors

[![deniskorbakov](https://avatars.githubusercontent.com/u/110344775?v=4)](https://github.com/deniskorbakov "deniskorbakov (118 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (5 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

laravel-dataphppluginsscribephppluginlaravel-dataScribe

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/deniskorbakov-laravel-data-scribe/health.svg)

```
[![Health](https://phpackages.com/badges/deniskorbakov-laravel-data-scribe/health.svg)](https://phpackages.com/packages/deniskorbakov-laravel-data-scribe)
```

###  Alternatives

[sybrew/the-seo-framework

An automated, advanced, accessible, unbranded and extremely fast SEO solution for any WordPress website.

47078.8k](/packages/sybrew-the-seo-framework)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
