Laravel 12 · Optional AI · Zero Build Step

The Law Firm Platform
That Runs Itself

A complete website and admin system for law firms — practice areas, attorney profiles, appointment booking, a blog, and an admin panel with RBAC — plus optional AI content generation and a client-facing chatbot. All on Laravel 12.

9
Frontend Modules
13
Admin Modules
5
AI Features
3
Seeded Roles
✅ Appointment confirmed
lawfarm.test
Law Farm
🔍 Search practice areas, attorneys, articles...
AllFamily Law CorporateImmigration
👪
Family Law
🏢
Corporate Law
🩹
Personal Injury
🌎
Immigration
💬 "How do I book a consultation?"
14
Database Tables
16
Eloquent Models
7
Settings Groups
2
AI Providers
0
Build Steps
✦ Everything Included

Not a demo.
A real firm platform.

Public site, admin panel, RBAC, and settings — all wired together, not just scaffolding.

👪
Practice Areas & Attorneys
Full profiles with bios, experience, education, and social links. Attorneys link to the practice areas they cover.
📅
Appointment Booking
Clients pick a practice area, preferred attorney, date, and time. Double-booking is checked automatically.
📝
Blog / CMS
Categories, tags, drafts, scheduling, and full SEO metadata per post — plus AI drafting when you want it.
🔐
Role-Based Admin
Admin, Editor, and Support roles out of the box, each scoped to the modules they actually need.
⚙️
Live Settings Panel
General, Email (SMTP), SEO, Social, Security, Cache, and Maintenance Mode — all editable from the admin UI, not .env.
🖼️
Media Manager
Simple upload/browse/delete for images used across practice areas, lawyers, and blog posts.
🔎
SEO Manager
Per-page meta title, description, and keywords for blog posts and practice areas — with AI suggestions built in.
🧾
Audit Logs
Every admin write action is logged with the user, IP, and timestamp — secrets are automatically redacted.
Testimonials & FAQs
Client reviews on the homepage, plus FAQs grouped by practice area — both manageable from admin.
✦ Optional AI, Your Choice of Provider

5 AI features.
One switch to turn them all off.

Every AI call routes through a single service with a global enable/disable toggle. Works with Anthropic or OpenAI — no vendor SDK required.

✍️
Blog Content Drafting
Generates a full draft article from just a topic and practice area, right from the blog editor.
↩ Fallback: write it manually, same editor
🏷️
SEO Metadata Suggestions
One click fills in meta title, description, and keywords based on the post's actual content.
↩ Fallback: manual SEO fields
FAQ Generation
Generates a batch of client-facing FAQs for any practice area, ready to review and publish.
↩ Fallback: add FAQs manually
📧
Email Drafting
Drafts professional client emails from a short purpose + context prompt.
↩ Fallback: write it yourself
💬
Client Chatbot Widget
Floating widget on the public site answers general questions and nudges visitors toward booking a consultation.
↩ Fallback: widget hides itself when AI is off
Law Farm Assistant
● Online
Do you handle child custody cases?
Practice Areas
Yes — our Family Law team handles custody, support, and divorce matters. Would you like to book a consultation with one of our attorneys?
Yes, what times are open this week?
Booking
I can't check live availability yet, but you can request a time on our Appointment page and our team will confirm within one business day.
Master AI Switch
Admin → AI Settings → Enable AI Features
◈ Three Seeded Roles

One admin panel.
Scoped to who needs what.

Roles and permissions are seeded on install — assign staff accordingly, or extend the permission groups.

👑 Admin
Full Platform Control
Every module, every setting, every log.
  • User & role management
  • All content modules — blog, lawyers, practice areas
  • Settings — email, SEO, security, maintenance mode
  • AI settings, provider, and API key
  • Full audit log visibility
Pending Appointments
3
Unread Messages
2
AI Status
On
✏️ Editor
Content & Reputation
Blog, practice areas, and testimonials.
  • Create & publish blog posts
  • AI-assisted drafting & SEO metadata
  • Manage practice area descriptions
  • Add & curate client testimonials
Draft Posts
2
Published
6
🎧 Support
Client-Facing Operations
Appointments and contact messages.
  • Confirm, reschedule, or cancel appointments
  • Read & reply to contact form messages
  • No access to settings or user management
Awaiting Reply
1
Confirmed Today
1
⬡ Built With

Modern stack.
Zero build step.

No Node.js, no webpack, no npm. Tailwind loads via CDN. Just PHP, Composer, and a database.

Laravel 12
PHP 8.2+, Artisan, migrations, queues
Anthropic / OpenAI
Switchable provider, plain HTTP calls, no SDK lock-in
🎨
Tailwind CSS (CDN)
Responsive layout across every public and admin view
🔐
Custom RBAC
Role/Permission models, no external package required
🗄️
Repository Pattern
Contracts + Eloquent implementations, bound via the service container
📨
Database-Driven Mail
SMTP settings editable live from Admin → Settings → Email
🧪
PHPUnit + Pint
Feature tests included; code style enforced with Laravel Pint
📋
MySQL / MariaDB
14 migrations, fully seeded with realistic dummy data
🚀 Try It Now

One command.
Fully seeded in minutes.

Install locally, run one seeder, and explore a firm that already looks lived-in.

👑
Admin Login
Email
admin@lawfarm.test
Password
ChangeMe123!
See full setup guide →
🌐
Public Site
Home
Practice Areas
Book a Visit
Browse all routes →
📚
Dummy Data
Practice Areas
6
Attorneys
6
Blog Posts
6
See seeder details →
$ Quick Setup — 15–25 minutes
# 1. Create the Laravel 12 project composer create-project laravel/laravel:^12.0 lawfarm && cd lawfarm # 2. Merge in the application scaffold, then install packages composer require laravel/sanctum pragmarx/google2fa-laravel spatie/laravel-sluggable guzzlehttp/guzzle # 3. Environment + database cp .env.example .env && php artisan key:generate && php artisan storage:link # 4. Migrate and seed dummy data php artisan migrate --seed # 5. Run it php artisan serve
📖 Full walkthrough — including the one migration conflict you need to resolve by hand — is in setup-guide.html.
❓ FAQ

Questions answered.

Do I need Node.js or npm?
No. Tailwind loads via CDN in every view. Just composer install and you're running.
Is AI mandatory? What if I don't have an API key?
Not at all. AI is off by default. Every AI-dependent button and the chatbot widget check a single "enabled" flag and hide or fall back gracefully when it's off.
Which AI providers are supported?
Anthropic (Claude) and OpenAI, switchable from Admin → AI Settings. Both are called via plain HTTP requests — no vendor SDK dependency.
Is there a migration conflict with a fresh Laravel install?
Yes, one — a fresh Laravel 12 project ships a default users/sessions migration that overlaps with this project's own. You delete one file before migrating; it's a 10-second fix documented in the setup guide.
Where do SMTP and other secrets live?
In the database, encrypted, editable from Admin → Settings → Email — not hardcoded in .env. The audit log automatically redacts them if a settings form is ever logged.
Can I add more roles or permissions?
Yes — Role and Permission are plain Eloquent models with a many-to-many pivot. Add new permission groups in the seeder or directly from a future admin UI.
⚡ Ready to Run

Your firm's website.
Live this week.

A complete Laravel 12 platform with optional AI, RBAC, and a fully seeded demo — ready for your content.

🚀 Read the Setup Guide 📖 Read the Docs
Laravel 12PHP 8.2+Anthropic / OpenAI Tailwind CDNRBACRepository Pattern Audit LogsNo Build Step