Skip to Content

Hanzala Afzal

Software Engineer

I build web apps and REST APIs, deploy them to Linux servers, and connect them to LLMs.

About

I've been building web apps and REST APIs since 2020, mostly in PHP and Laravel, and deploying and running them on Linux servers. I work across the whole release flow, from GitHub Actions pipelines to Docker, Nginx and the server itself.

Most recently I worked on a B2B SaaS for inspection protocols, on its backend and infrastructure and on its AI assistant, which connects Gemini to the app through MCP tools. I'm now in the thesis phase of my M.Sc. in Artificial Intelligence and learning Go to move further into cloud engineering.

Experience

  1. 2025 to 2026

    Werkstudent Software Engineer · ProtocolHero

    Köln, Germany · Hybrid

    B2B SaaS for inspection protocols, used by almost 200 paying craft businesses

    • Built GitHub Actions pipelines that lint, test and deploy over SSH to a DigitalOcean droplet.
    • Ran staging and production behind Cloudflare and Nginx, including DNS, SSL and R2 storage.
    • Monitored server load, Horizon queues on Redis and error rates with Sentry and Laravel Nightwatch.
    • Owned the AI assistant, connecting Gemini to the app through Laravel MCP with timeouts, retries and guardrails.

    Software Engineer Intern · 2025

    • Built backend HTTP routing, auth middleware and API rate limiting ahead of the public MVP launch.
    • Built the React editor's keyboard navigation and drag and drop blocks, developed in Docker and shipped from staging to production.
    • Laravel
    • Redis
    • Laravel Horizon
    • Nginx
    • Cloudflare
    • DigitalOcean
    • GitHub Actions
    • Docker
    • Sentry
    • Gemini API
    • Laravel MCP
    • React
  2. 2023 to 2024

    Werkstudent Web and Backend Developer · Sunbonoo · Activity Internet GmbH

    Munich, Germany · Remote

    Booking platform for activities and trips, built on Magento 1.9 and OpenMage

    • Upgraded the live shop from PHP 7.2 to 8.1 on OpenMage, testing every module on staging first.
    • Profiled slow MySQL queries and added column indexes to speed up catalog pages.
    • Connected the DeepL API to translate thousands of pages into more than 10 languages, with a hash cache.
    • Integrated Stripe and PayPal into the admin panel so payment links are generated automatically.
    • PHP
    • Magento 1.9
    • OpenMage
    • MySQL
    • DeepL
    • Stripe
    • PayPal
    • PHPUnit
  3. 2020 to 2022

    Web Developer · Techo Studios

    Islamabad, Pakistan · Onsite

    • Built REST APIs and MySQL schemas for a real estate ERP covering search filters, billing and PDF documents.
    • Deployed client Laravel apps to Linux servers, setting up web servers, databases, domains and SSL.
    • PHP
    • Laravel
    • MySQL
    • REST APIs
    • Linux

Projects

  1. Open source

    Laravel Dynamic Throttle

    A Laravel package on Packagist for changing API rate limits while the app runs.

    • Rules live in the database and compile into the cache, so new limits apply within seconds without a deploy.
    • Ships with a dry run mode, exemptions and a dashboard, built test first with CI on GitHub Actions.
    • PHP
    • Laravel
    • Redis
    • PHPUnit
    • GitHub Actions
  2. Open source

    Retentioneering Tools

    An open source product analytics library in Python.

    • Three merged performance fixes for DuckDB query reuse, large event filters and transition graphs.
    • Repeated DuckDB queries ran about 1.9 to 4.6 times faster in benchmarks.
    • Generated SQL shrank from about 8 MB to 170 characters.
    • Python
    • DuckDB
    • SQL
    • Performance
  3. Personal

    Custom MVC Blog: PHP Without a Framework

    A small PHP application, written to work directly with what Laravel usually handles.

    • Wrote routing, authentication, CRUD and permissions by hand.
    • Separate controllers, services and models, with CSRF protection, PHPUnit tests and PSR-12 checks.
    • PHP
    • FastRoute
    • PHPUnit
    • PSR-12
  4. In progress

    Agentic CSV Analyst

    A chat app for analysing CSV files.

    • The LLM plans and explains, while DuckDB runs the calculations.
    • RAG on Qdrant, persistent conversations and isolated data per user.
    • Next.js
    • TypeScript
    • LangGraph
    • DuckDB
    • Qdrant
    • OpenAI API

Other things I've built

Skills

Backend & APIs
  • Laravel
  • REST APIs
  • Middleware
  • Rate limiting
  • Redis
  • Laravel Horizon
  • Magento 1.9
  • OpenMage
Cloud & DevOps
  • Linux
  • DigitalOcean
  • Cloudflare
  • Docker
  • Nginx
  • GitHub Actions
  • SSH
  • Bash
Monitoring & testing
  • Sentry
  • Laravel Nightwatch
  • PostHog
  • Server logs
  • PHPUnit
  • Vitest
  • Pint
Languages & databases
  • PHP 8
  • TypeScript
  • Python
  • SQL
  • PostgreSQL
  • MySQL
  • DuckDB
AI / LLM
  • Gemini API
  • Gemini File Search
  • Laravel MCP
  • OpenAI API
  • RAG
  • Qdrant
  • Intent routing
  • Guardrails
Frontend
  • React
  • Zustand
  • Tailwind CSS
  • Blade
Tools
  • Git
  • Claude Code
  • Codex
  • Cursor
  • Jira
  • Linear
  • Postman

Education

  1. Since 2022

    M.Sc. Artificial Intelligence · BTU

    Germany · All coursework completed, thesis expected 2027

  2. 2016 to 2020

    B.Sc. Computer Science · Bahria University

    Islamabad, Pakistan

  3. Course

    GDPR for Software Developers · TechGDPR

  4. Course

    Software Architecture and Clean Code · Udemy