Skip to main content
Home About Portfolio
E-Commerce

Building Tutor Matchmaking and Exam Preparation Portals with Laravel

Separate tutor marketplace matching from exam preparation, with verified profiles, protected applications, fair search, moderation, and dependable learning access.

Md Shafin Ahmed

Md Shafin Ahmed

Full-Stack Developer

7 minute read · Case Study
Building Tutor Matchmaking and Exam Preparation Portals with Laravel

Tutor Provider BD is a tutor marketplace; Job Genius BD is an exam-preparation platform with live MCQ and classes, not a recruitment job board. Keeping those domains distinct is essential. My Tutor Provider BD developer and operations lead work from 2022 to 2025 provides context, while the architecture and snippets below are illustrative rather than private project source or claimed client outcomes.

1. Separate the marketplace from the learning product

A tutor marketplace helps a guardian or learner describe a tuition need, discover suitable tutors, and establish a trusted connection. An exam-preparation product helps a learner access classes, practise questions, and understand progress. They can share account and notification infrastructure, but their central records and success conditions differ. Do not force both into a generic job application table.

Map each journey separately before identifying shared services. For tutoring, define request creation, profile review, application, shortlisting, and a confirmed arrangement. For preparation, define enrolment, scheduled classes, live MCQ participation, and result review. Use names that describe the real work so administrators do not confuse a learning subscription with an employment or tuition application.

Conceptual illustration of tutor profiles, tuition requests, and moderated matching workflows
Conceptual illustration: a tutor marketplace matches learning needs with tutor profiles; it does not depict a recruitment product.

2. Model profiles, requests, and verification independently

Keep a tutor profile separate from individual tuition requests and applications. One profile can respond to several suitable requests without duplicating identity information. Record subjects, levels, service areas, availability, and a clearly defined fee unit. Store monetary values in integer minor units with a currency code, not floating-point amounts that become inconsistent during filtering or invoicing.

Verification should have explicit states such as pending, approved, and rejected, with a reviewer and an internal reason. Store sensitive evidence privately and restrict its access. Do not publish identity documents as profile images. Explain what a verification badge actually means; checking a document is not a guarantee of teaching quality, future conduct, or every claim made in a biography.

3. Design search around practical compatibility

Start with subject, education level, broad location, delivery mode, availability, and budget. Use controlled identifiers for filters where appropriate and validate them against your taxonomy. Show enough public information to help someone decide whether to open a profile, but do not reveal private phone numbers or exact home addresses in a searchable result list.

This query illustrates validated filters and a deliberately limited public projection. It assumes approved profiles with a documented monthly fee unit and subject relationship. The administrative approval field must not be writable by an ordinary tutor. Add location privacy, index review, and your actual pagination presentation. Public search eligibility and private profile editing require different policies.

use App\Models\TutorProfile;

$filters = $request->validate([
    'subject_id' => ['nullable', 'integer', 'exists:subjects,id'],
    'district_id' => ['nullable', 'integer', 'exists:districts,id'],
    'max_fee_minor' => ['nullable', 'integer', 'min:0', 'max:100000000'],
]);

$query = TutorProfile::query()->where('verification_status', 'approved');
if (isset($filters['subject_id'])) {
    $query->whereHas('subjects', function ($subjects) use ($filters) {
        $subjects->where('subjects.id', $filters['subject_id']);
    });
}
if (isset($filters['district_id'])) {
    $query->where('district_id', $filters['district_id']);
}
if (isset($filters['max_fee_minor'])) {
    $query->where('monthly_fee_minor', '<=', $filters['max_fee_minor']);
}

$profiles = $query->select([
    'id', 'display_name', 'district_id', 'monthly_fee_minor', 'currency',
])->orderBy('id')->paginate(20);

4. Make applications authorised and retry-safe

Resolve the tutor profile from the authenticated account, never from a submitted owner identifier. A request policy should check that the opportunity is open, the tutor is eligible, and the applicant is not responding to their own request. Keep the server responsible for these decisions even if the interface already hides an unavailable action.

The transaction below locks the tuition request while checking eligibility and creating an application. All closure transitions should use the same locking convention. Add a unique database constraint on the request and tutor pair as a final duplicate safeguard. Repeating an application request should return the existing application rather than creating several entries or silently replacing an already reviewed message.

use App\Models\TuitionRequest;
use Illuminate\Support\Facades\DB;

$data = $request->validate(['message' => ['required', 'string', 'max:2000']]);
$tutor = $request->user()->tutorProfile()->firstOrFail();

$application = DB::transaction(function () use ($tuitionRequest, $tutor, $data) {
    $locked = TuitionRequest::whereKey($tuitionRequest->id)
        ->lockForUpdate()->firstOrFail();
    $this->authorize('apply', $locked);
    abort_unless($locked->status === 'open', 409);

    return $locked->applications()->firstOrCreate(
        ['tutor_profile_id' => $tutor->id],
        ['message' => $data['message'], 'status' => 'pending']
    );
});
// Escape the stored message when rendering; never accept status from the client.

5. Build communication around consent and moderation

Attach conversations to the relevant request or arrangement and authorise every message thread. Reveal contact details only at a clearly explained point with appropriate consent. Provide blocking and reporting tools, and keep a moderation queue with enough context to review concerns. Rate-limit unsolicited messages without making normal follow-up impossible.

Define what moderators may read and under which circumstances. Record administrative access to sensitive evidence where appropriate, and set retention rules rather than keeping every document indefinitely. Support disputes with timestamps and state history, but avoid promising that a platform can verify everything said outside its communication channels. Clear boundaries are more credible than an unlimited claim of safety.

Conceptual illustration of exam preparation lessons, question formats, and timed practice attempts
Conceptual illustration: exam preparation and live MCQ belong to a learning workflow separate from tutor matching.

6. Give exam preparation its own rules

For a Job Genius BD-style learning domain, model classes, courses, question banks, enrolments, and attempts instead of candidate vacancies. Live MCQ needs server-controlled opening and closing times, authorised participation, and a defined feedback policy. Store accepted answers durably and decide how interrupted connections affect a timed session. The mobile countdown must not become the authority for extra time.

For scheduled classes, show timezone-aware schedules, access requirements, and cancellation information. Protect lesson recordings through enrolment policies and private delivery. Keep practice progress separate from tutor marketplace reputation. A high quiz score does not automatically verify a tutor profile, and an approved tutor account does not automatically entitle its owner to every paid course.

7. Measure quality without inventing outcomes

Track incomplete profiles, unanswered requests, moderation backlog, failed notifications, and application-state transitions. Define what constitutes a confirmed tutoring arrangement before counting it. For exam preparation, measure attempt completion and class-access failures separately. Avoid combining unrelated activity into a single success number that sounds impressive but cannot guide an operational decision.

Review ranking rules for fairness and explain paid placements if they exist. Popularity alone can hide new but suitable tutors, while budget-only ordering can ignore important compatibility. Test filters with representative profiles and check that missing optional fields do not make eligible tutors invisible. Use evidence to improve the workflow rather than asserting conversion or learning gains that have not been measured.

8. Launch with privacy and operations rehearsals

Walk through account creation, profile moderation, search, application, messaging, reporting, and closure using distinct roles. Then rehearse enrolment, class access, and a timed practice session as a separate journey. Test another user's records and exports directly, not just through navigation. Assign ownership for moderation, support, backups, and failed notifications before inviting real participants.

  • Keep marketplace and learning records distinct.
  • Protect verification evidence and contact details.
  • Derive ownership from authenticated accounts.
  • Test duplicate applications and closed requests.
  • Describe verification and project outcomes accurately.
Md Shafin Ahmed

Written by

Md Shafin Ahmed

Laravel, Wix & Flutter developer at HEXBRID, building custom web applications, e-commerce stores, and mobile apps for growing businesses.

More About Me
Keep Reading

Related Insights

All Articles

Have a project in mind?

Let's build a Laravel web application, Flutter mobile app, or Wix and WordPress store—with APIs, technical SEO, and deployment support.

Start A Conversation