School Meal Ordering

Catering d'Aran

Public-facing ordering experience for school catering in Valle de Arán — parents configure child profiles, choose weekly menu days around the school calendar, and pay with immediate digital receipts.

Catering d'Aran2025 – PresentLive Site

3 steps

On-site

Parent flow

Valle de Arán

Spain

Service area

Allergies

Profile-driven

Safety

The Challenge

The business needed a straightforward way for families to purchase school menus online while capturing allergy and dietary constraints up front, avoiding manual coordination with the kitchen. Ordering also had to respect non-school days so parents are never charged for holidays, and checkout had to deliver instant proof of payment for school records.

Architecture & Solution

Modeled the domain around child profiles, weekly menu plans, and school-calendar rules so availability is computed server-side before checkout. A scheduled cron job keeps the school-holiday calendar and weekly menu availability in sync automatically. Integrated payment processing for authorization and receipt generation, with transactional persistence so order state, payment status, and audit-friendly records stay aligned.

Key Features

Child profiles

Parents define each child’s plan and capture allergy details so menus can be evaluated before preparation and service.

Calendar-aware ordering

Weekly selection logic excludes school holidays so ordering mirrors the real academic schedule.

Payments & receipts

Streamlined checkout with immediate receipts for record-keeping and fewer administrative follow-ups.

Trust & compliance

Published privacy, refund, cancellation, and delivery policies accessible from the public site.

Technical Deep Dive

SchoolMenuOrderService.phpphp
<?php

namespace App\Services;

use App\Models\ChildProfile;
use App\Models\SchoolCalendar;
use Carbon\Carbon;

class SchoolMenuOrderService
{
    /**
     * Orderable days for a child’s weekly plan — excludes holidays
     * and respects allergy constraints from the parent profile.
     */
    public function orderableDays(ChildProfile $child, Carbon $weekStart): array
    {
        $holidays = SchoolCalendar::nonSchoolDays(
            $child->school_id,
            $weekStart
        );

        return $child->weeklyMenuPlan()
            ->forWeekStarting($weekStart)
            ->excludingDates($holidays)
            ->matchingDietaryRules($child->allergies)
            ->toSelectableSlots();
    }
}

Results & Impact

Live platform aligned with the site’s three-step journey: create a child profile, select eligible days, and complete payment with receipts. Parents get a clearer, faster alternative to manual ordering while the catering team receives structured, constraint-aware orders tied to the academic calendar.

Measurable Outcomes

Child profiles with structured allergy and dietary fields to reduce risk before meals are prepared

Scheduled cron job keeps the school-holiday calendar synced automatically so ordering always reflects the current school schedule

Week-based menu selection with school-holiday exclusion so only valid school days are orderable

End-to-end payment flow with instant receipts for parents and traceable order history

Bilingual public experience aligned with families and schools across the region

Contact and policy pages (privacy, refunds, delivery) supporting transparent operations

Technology Stack

Laravel
PHP
MySQL
REST API
Payment gateway integration
Transactional order pipeline
Cron Jobs
Shared Hosting

Project Info

Employer

Catering d'Aran

Timeline

2025 – Present

Category

School Meal Ordering

View Live Site

Tech Stack

LaravelPHPMySQLREST APIPayment gateway integrationTransactional order pipelineCron JobsShared Hosting

Working on something similar?

Let's discuss your project requirements and how I can help architect a solution.

Get In TouchAll Projects
MA

Muhammad Arslan

Loading precision…

System initializing4%
Engineering the future