# fluent-support/trunk/app/Http/Requests/AgentCreateRequest.php

Fluent Support – Helpdesk &amp; Customer Support Ticket System, version trunk. 25 lines.

- Page: https://pluginprobe.com/plugins/fluent-support/trunk/code/app/Http/Requests/AgentCreateRequest.php
- Raw: https://pluginprobe.com/plugins/fluent-support/trunk/raw/app/Http/Requests/AgentCreateRequest.php
- Modified: 2026-02-05T14:04:40+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/fluent-support/trunk/code/app/Http/Requests/AgentCreateRequest.php#L10-L20`.

```php
<?php

namespace FluentSupport\App\Http\Requests;

use FluentSupport\Framework\Foundation\RequestGuard;

class AgentCreateRequest extends RequestGuard
{
    public function rules()
    {
        return [
        	'email' => 'required|email',
            'first_name' => 'required'
        ];
    }

    public function messages()
    {
        return [
            'email.required' => __('Email is required', 'fluent-support'),
            'first_name.required' => __('First name is required', 'fluent-support')
        ];
    }
}

```
