elison / talos
Generate Laravel Requests related to the columns type of a table
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/elison/talos
Requires
- doctrine/dbal: ^3.1
This package is auto-updated.
Last update: 2025-09-29 02:58:31 UTC
README
A package that generates requests based on the columns types of a table.
Install on laravel project
composer require elison/talos
Add the provider in the app.php
config/app.php
\Elison\Talos\TalosProvider::class,
Requirements
laravel project
composer v2
doctrine/dbal
Usage
php artisan migrate -> create a table that comes by default with the package
php artisan talos:generate-request table_name request_name -> command to generate request
Command example
php artisan talos:generate-request examples TestRequest
Example request that will be generated by the package
public function rules()
{
return [
'created_at' => ['date','nullable'],
'description' => ['string','nullable'],
'title' => ['string','required'],
'updated_at' => ['date','nullable'],
'value' => ['integer','required'],
];
}