Individual project · Secure document analysis

LexiGuard AI

An authenticated Laravel workspace for document upload, text extraction, risk analysis, reports, and bilingual questions grounded in the user's own document.

Project typeIndividual project
My roleProduct design and full-stack development
OwnershipIndividual project
DeploymentOriginal UI + public secure backend
LexiGuard AI interface

The problem and my contribution.

Document analysis products handle sensitive files, so a convincing demo must do more than display a score. It needs real accounts, private ownership, validated uploads, extractable text, explainable findings, and safe deletion.

My roleProduct design and full-stack development
OwnershipIndividual project

I designed the workflow and implemented registration, verification, sessions, document ownership, extraction fallbacks, local analysis, document-grounded chat, reports, admin review, tests, and deployment packaging.

How the product is put together.

01

Secure UI

Accounts, uploads, reports, chat

02

Authorization

Session, role, ownership

03

Analysis

Extraction and risk engine

04

Storage

Private files + relational records

Technology choices

TECH

Laravel + Blade

Secure server workflows and a polished multi-page bilingual interface.

TECH

MySQL + Eloquent

Explicit ownership between users, documents, analyses, and chats.

TECH

PDF / Word extractors

Layered parsers keep extraction useful across environments.

TECH

Local analysis + optional AI

Core risk analysis works without a paid key; enrichment is optional.

Challenges and decisions.

Cross-user isolation

Every read, report, question, download, and delete checks document ownership on the server; admins are the only explicit exception.

Extraction reliability

PDF and Word processing use primary tools and fallbacks instead of assuming one parser works everywhere.

Explainable results

The local engine returns score, clauses, dates, recommendations, and a summary instead of an unexplained label.

Real screens, not mockups.

Quality you can verify.

15feature tests
4document formats
2languages
R2private demo files
  • The feature suite covers authentication, upload validation, document questions, reports, deletion, admin access, and ownership rejection.
  • CI builds Vite assets and runs Laravel tests; Docker includes PHP extensions and Poppler.
  • The public backend stores each demo document under the authenticated user and scopes D1/R2 operations by that user.

Try the protected workflows.

RoleEmailPassword
Legal analystdemo@lexiguard.aiLexiGuard2026!

Demo credentials are public. Do not upload private data or reuse these passwords.

LexiGuard AI

Want to inspect the implementation?