https://github.com/mawuva/laravel-form-request
Laravel Form Request adaptation for Lumen Framework
https://github.com/mawuva/laravel-form-request
Last synced: 3 months ago
JSON representation
Laravel Form Request adaptation for Lumen Framework
- Host: GitHub
- URL: https://github.com/mawuva/laravel-form-request
- Owner: mawuva
- License: mit
- Created: 2021-06-11T01:53:23.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-21T14:12:14.000Z (about 3 years ago)
- Last Synced: 2025-01-31T12:49:54.297Z (3 months ago)
- Language: PHP
- Homepage:
- Size: 12.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Laravel Form Request adaptation for Lumen Framework
This package is a Laravel Form Request adaptation for Lumen Framework.
You can use it in Laravel also but, it's not necessary.## Installation
You can install the package via composer:
```bash
composer require mawuekom/laravel-form-request
```#### Make some configs
- Add the service provider in `bootstrap/app.php`
```php
$app->register(Mawuekom\FormRequest\FormRequestServiceProvider::class);
```Next step is create your FormRequest and extends from `Mawuekom/FormRequest/Http/FormRequest`
## Usage
```php
'required|string',
'email' => 'required|string|email',
];
}
}```
## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.