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\Lineup;
use HiEvents\Http\Request\BaseRequest;
class UpsertProfileRequest extends BaseRequest
{
public function rules(): array
{
return [
'name' => ['required', 'string', 'max:255'],
'tagline' => ['nullable', 'string', 'max:255'],
'bio' => ['nullable', 'string', 'max:20000'],
'links' => ['array', 'max:12'],
'links.*' => ['required', 'string', 'url:https', 'max:500'],
];
}
public function messages(): array
{
return [
'links.*.url' => __('Each link must be a valid https:// URL'),
];
}
}