Persist before sending
A validated enquiry is saved first. An email delivery problem cannot erase the original project brief.
A business website backed by dependable delivery.
BWD explains the business problems my company can help solve. This portfolio shows the engineering; the company website turns that work into clear services and a practical starting point for a new project.
A contact form should produce a useful, recoverable enquiry even when an email transport is unavailable. Content should also explain what a business is commissioning.
Laravel validates and persists each enquiry before independently attempting owner notification and customer confirmation. Preflight verifies production delivery configuration before deployment.
A validated enquiry is saved first. An email delivery problem cannot erase the original project brief.
Owner notification and customer acknowledgement have separate failure handling. One transport failure does not prevent the other attempt.
Preflight connects common Vapor checks to a business-specific enquiry delivery check. Runtime secrets remain in the deployment environment.
Preflight handles reusable release checks; the enquiry pipeline is application code. The repeated receipt-and-notification pattern is a candidate for a future package.
EnquiryDelivery implements the package Check contract and verifies the configured logging, recipient and mail transport.
Preflight package ↗use App\Checks\EnquiryDelivery;
return [
'require_shared_state' => true,
'vapor_limits' => ['concurrency' => 5, 'cli-concurrency' => 2, 'warm' => 0, 'memory' => 512],
'checks' => [EnquiryDelivery::class],
];Exact custom application code; not a MrNewport package call. The controller catches owner/confirmation transport failures separately after storing the lead.
$data = $request->validated();
$lead = Lead::create([
'name' => $data['name'], 'company' => $data['company'] ?? null, 'email' => $data['email'],
'phone' => $data['phone'] ?? '', 'contact_method' => $data['contact_method'],
'comments' => $data['message'], 'subject' => 'Website enquiry',
'options' => ['service' => $data['service'], 'timeline' => $data['timeline'] ?? null],
]);The site keeps its own copyright. SiteCredit adds the standard BWD attribution after it, using isolated styles bundled with the application.
SiteCredit package ↗<x-site-credit />Live business website. Enquiries are stored before notification attempts; mail transport acceptance does not prove inbox delivery.
Designed, Developed and Hosted by Better Web Design and Development Services, LLC