Skip to content

Blog

Engineering articles: Laravel, Flutter and SaaS

Articles on building SaaS platforms, apps, and integrations: architecture decisions, data isolation, and unreliable connections.

Cover: Define the export before you need to leave

Cover story

01
Engineering9 min read

A data portability checklist for SaaS buyers and builders, with a manifest template, a verification script and the restore test that proves the export works.

From the desk

Reading contents

14
  1. Engineering7 min read

    PWA offline scope matrix: what each task does without a network

    List every task your users perform, then decide for each one whether it works offline, how fresh its data must be, what the screen says and how you test it.

    Cover: PWA offline scope matrix: what each task does without a network
  2. Engineering11 min read

    How to test tenant isolation in a multi-tenant Laravel SaaS app

    Create two look-alike tenants, attack each layer, and add a schema test that fails when a new table ships without row-level security. These are tests from ClinicTek's suite.

    Cover: How to test tenant isolation in a multi-tenant Laravel SaaS app
  3. Engineering14 min read

    Resolve Offline Sync Conflicts Without Losing User Work

    Use versions, operation identities, domain merge policies, conflict inboxes, deletion states, dependency ordering, and hostile two-device tests.

    Cover: Resolve Offline Sync Conflicts Without Losing User Work
  4. Engineering14 min read

    Webhooks vs Polling for Reliable Integrations

    When to use webhooks, polling or both, and how to poll without skipping records. Includes receiver code we wrote for ClinicTek and barmajtek.com that survives duplicates, retries and forged requests.

    Cover: Webhooks vs Polling for Reliable Integrations
  5. Engineering10 min read

    A Technical Takeover Checklist for Legacy Laravel Applications

    Fourteen ordered steps for taking over a Laravel application someone else built, commands that gather evidence for most of them, a table for sorting findings, and bugs we found in our own products.

    Cover: A Technical Takeover Checklist for Legacy Laravel Applications
  6. Engineering8 min read

    Business Dashboard Design: What an Owner Needs to See First

    How to choose, define and link the numbers on an owner's dashboard, with examples from the screens we built for GymTek and ClinicTek.

    Cover: Business Dashboard Design: What an Owner Needs to See First
  7. Engineering7 min read

    How to choose an MVP tech stack, and when to change it

    The right MVP stack depends on where the core task happens. Here is what we chose on real projects and the measurable conditions that would make us change each choice.

    Cover: How to choose an MVP tech stack, and when to change it
  8. Engineering12 min read

    Automating Customer Notifications and Confirmations

    Manual updates do not scale. How to automate order and booking confirmations, reminders, and status updates reliably — designed around events, not channels.

    Cover: Automating Customer Notifications and Confirmations
  9. Engineering12 min read

    Payment provider integration: attempts, verify, settle

    How to integrate electronic payments and national e-invoicing into your product: per-invoice requests, reconciliation, confirmation, and swappable providers.

    Cover: Payment provider integration: attempts, verify, settle
  10. Engineering8 min read

    How to Build an RTL-First Design System

    Five decisions let a component work right to left without overrides. This guide adds a mirroring table, a test matrix that covers exports and examples from ClinicTek's code.

    Cover: How to Build an RTL-First Design System
  11. Engineering11 min read

    Offline-First PWA Patterns: Storage, Sync Queues, Conflicts and Upgrades

    How to decide which work continues without a network, what the service worker should cache, how pending work reaches the server once, and how to test it.

    Cover: Offline-First PWA Patterns: Storage, Sync Queues, Conflicts and Upgrades
  12. Engineering10 min read

    Applying Clean Architecture and DDD in Laravel

    A practical method for domain language, use cases, value objects, integration boundaries, balanced testing, and incremental Laravel refactoring.

    Cover: Applying Clean Architecture and DDD in Laravel
  13. Engineering11 min read

    Flutter + Laravel: One Backend, Every Screen

    One Laravel backend can serve your Flutter apps on iOS and Android without two app versions disagreeing on a rule. This guide shows how we split the work and quotes code from a field service system we built.

    Cover: Flutter + Laravel: One Backend, Every Screen
  14. Engineering14 min read

    Designing Multi-Tenant SaaS Architecture in Laravel

    Isolate tenant data in Laravel from request to database to queue, with RLS policies, roles and tests from ClinicTek's code and the billing records a SaaS needs.

    Cover: Designing Multi-Tenant SaaS Architecture in Laravel

Start with your project’s constraint: access rules, data volume, response time, or an existing system to connect. Use the article to understand options and limits, then discuss them with your technical team.

Before applying an example, check tool versions, hosting, and security requirements. Test failures, exports, and data isolation in a safe environment; an example is not a substitute for reviewing your project.