Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️
PHP attendize-alternativedoor-managementevent-check-inevent-managementevent-registrationevent-ticketingeventbrite-alternativeeventslaravelopen-sourcephpreactself-hostedsell-ticketssell-tickets-onlineticket-sellingticketing-systemtickettailor-alternativetito-alternative
<?php
declare(strict_types=1);
namespace HiEvents\Http\Request\Admin;
use HiEvents\DomainObjects\Enums\AttributionGroupBy;
use HiEvents\Http\Request\BaseRequest;
use Illuminate\Validation\Rule;
class GetUtmAttributionStatsRequest extends BaseRequest
{
public function rules(): array
{
return [
'group_by' => ['nullable', 'string', Rule::in(AttributionGroupBy::valuesArray())],
'date_from' => ['nullable', 'date'],
'date_to' => ['nullable', 'date', 'after_or_equal:date_from'],
'page' => ['nullable', 'integer', 'min:1'],
'per_page' => ['nullable', 'integer', 'min:1', 'max:100'],
];
}
}