Looking to hire Laravel developers? Try LaraJobs

scribe-laravel-data-plugin maintained by joelbutcher

Description
A Scribe plugin for Spatie's Laravel Data package.
Author
Last update
2025/01/05 19:22 (1.x-dev)
License
Links
Downloads
15

Comments
comments powered by Disqus

Scribe Laravel Data Plugin

Overview

A scribe plugin that retrieves body parameters from Laravel Routes using Spatie's Laravel Data package in replacement of Laravel Form Requests.

Installation

Install the package via composer:

composer require joelbutcher/scribe-laravel-data-plugin

Add the plugin to the strategies.bodyParameters array in your config/scribe.php file:

...
    'strategies' => [
        ...
        'bodyParameters' => [
            \JoelButcher\ScribeLaravelDataPlugin\Plugin::class,
            ...
        ],
        ...
    ],

That's it! Run the scribe:generate artisan command.

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.