A scribe plugin that retrieves body parameters from Laravel Routes using Spatie's Laravel Data package in replacement of Laravel Form Requests.
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.
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.