LaraSlice Changelog
Explore the latest features, architectural upgrades, performance optimizations, and breaking changes across LaraSlice versions.
Critical patch release hardening slice:install on fresh databases by preventing duplicate Sanctum migration publishing and automatically pruning redundant pending migration files.
SliceInstallCommand now proactively checks for any pre-existing *_create_personal_access_tokens_table.php migration files before running vendor:publish. If multiple Sanctum migration files are found, it automatically deduplicates and keeps only the earliest one, eliminating SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'personal_access_tokens' already exists errors during automated migrations.
Major enterprise release delivering N-Tier Recursive Slice Discovery (Super-Domains & Bounded Modules), Pluggable Multi-Tenancy & SaaS Isolation, Universal Monolith Reverse-Engineering with ETL Data Streaming, Interactive Blueprint Studio Porting Suite, Declarative UI Schema with instant Slide-Over Drawers, and Enterprise BlatUI components.
Support for 3-tier and recursive slice hierarchies (SuperDomain / Domain / Slice) up to 6 levels deep. Extended manifests with super_domain, domain, sub_domain, table_prefix, and dynamic PSR-4 namespace calculation matching folder taxonomy.
Native TenantManager singleton, HasTenant Eloquent trait with automatic TenantScope query registration, and IdentifyTenant middleware supporting header, parameter, and session-based tenant resolution.
Introspect massive 200+ table legacy databases (tested against 227-table ERP). Multi-block migration parser, foreign-key dependency analysis, dynamic master taxonomy seeder synthesis (zero blank dropdowns), and high-throughput ETL data streamer (SliceDataPortService) with auto-ID preservation.
Interactive Porting Studio modal with live side-by-side architecture preview, live BlatUI sidebar preview with record badges, and 1-click loading of 28 bounded slices directly onto the Blueprint Studio canvas with full model schemas, fields, and 4-step BlatUI plans.
Canonical ui: schema block with presentation (slide-over drawer with ?drawer=create deep-linking), directory formatters (code_badge, composite_user, status_pill, money_breakdown), forms section grids, and granular modular validation (php artisan slice:validate --part=ui|forms).
Top-header Module Switcher Ribbon with reactive Alpine.js filtering, multi-select bulk actions in <x-ui.data-table>, defensive migration table guards (Schema::hasTable), 250 enterprise field capacity, and hierarchical RBAC permission matrix.
Feature release introducing the Vertical Slice Workflow State Machine Engine, visual lifecycle progression components, dual-flow statutory adjudication and intake architecture, and production enterprise porting refinements.
Native lifecycle state machines with HasWorkflow trait, WorkflowEngineService, stepper progression bars, timeline audit trails, role-scoped permission guards, and forward-with-remarks action modals.
Production-grade separation of Admin Docket Intake (inward mode, courier tracking, diary timestamps) and Public Grievance Portals, multi-stream statutory routing, dynamic property repeaters, and multi-respondent accused management.
Automated taxonomy seeder extraction, scoped child-table navigation hierarchy, atomic cascade cleanup on slice removal, and the built-in Dispute Adjudication Suite enterprise preset in Blueprint Studio.
Major milestone introducing the Monolith Reverse-Engineering & Legacy App Porting Pipeline, enabling automated translation of complex monolithic Laravel codebases into cleanly decoupled Vertical Slices grouped under Bounded Domains, complete with dual-mode data migration and interactive mapping.
Automatically parses legacy models, schemas, and migrations (e.g. 51+ flat tables). Categorizes tables into Aggregate Roots, Child entities, Reference Taxonomies, and Many-to-Many Pivots, structuring them directly into domain YAML blueprints.
System-Base Mode: Scans legacy database tables for master lookups, 24 statuses, categories, offices, and generates deterministic seeders in database/seeders/ to guarantee 0 blank dropdowns on clean slate installs.
Full-Data Mode: Performs complete topological table migration preserving primary/foreign key hierarchies and copies physical file attachments from legacy storage/app/public.
Integrated Port Legacy App modal in Blueprint Studio (/laraslice/wizard/blueprint) and Quick-Launch banner in Wizard (/laraslice/wizard?port=1). Offers live side-by-side Table-to-Slice Architecture previews with verified schema introspection before executing migrations.
Standardized protocol in SKILL.md instructing AI assistants (Antigravity, Cursor, Claude Code) to proactively prompt developers for project path, target domain context, and preferred data mode before command execution when operating outside the GUI.
This milestone release brings live MySQL column reflection, conversational 1-click migrations, the visual Slice Studio orchestrator, an enterprise 15-table User aggregate with WebAuthn passkeys, and real-time DOM screen awareness.
Dedicated visual command center for browsing slices, aggregate entities, and live records. Features a bidirectional event bus (laraslice-slice-selected) that instantly syncs selected slice context, tables, and permissions directly into the Copilot.
The AI Copilot executes native SHOW COLUMNS FROM `{table}` queries, revealing exact SQL data types, nullability, primary/foreign/unique keys, and default values. Eliminates guesswork when querying specific tables like user_details.
Ask to add a field (e.g. "add emergency_contact in user_details"). The Copilot displays an interactive proposal card with inferred data types, non-breaking nullable defaults, enterprise recommendation chips, and a single-click "⚡ Apply Migration & Add Field Now" button that generates and runs the migration on MySQL immediately.
Typing / in the Copilot auto-completes slice-specific actions:
/fields [table], /add-field [table], /relations, /permissions, /nav, /logs, /suggest-fields, /seed, and /wipe.
Upgraded the Users slice to a full multi-table aggregate: primary users root table with 14 child entities including user_details, user_devices, user_passkeys (WebAuthn/FIDO2 biometric login), and user_security_logs.
Fixed passkey removal routing to support multi-verb dispatch (DELETE/POST/GET) and seamless redirection back to the MFA settings hub with live status alerts.
- Declarative Blueprint Studio: Interactive visual schema designer with drag-and-drop table relationship mapping.
- Multi-Table Aggregate Architecture: Introduced parent-child aggregate boundaries and transaction-safe cascading updates.
- Cross-Slice Contracts & DTOs: Type-safe interfaces ensuring slices communicate strictly via contracts without tight coupling.
- Dual-Layer Audit Engine: User-level intrinsic record stamps paired with an immutable system ledger and automatic retention pruning (
slice:audit:prune).
- 3-Layer Packaging Model (ADR-001): Core Engine, Starter Slices, and Project-specific domain slices with zero vendor lock-in.
- Pure Blade + Alpine.js + Tailwind CSS v4: Lightweight, ultra-responsive UI shell built on BlatUI and Lucide icons.
- CLI Generators: High-velocity artisan commands including
slice:make,slice:seed, andslice:toggle. - Dual Web & Mobile Scaffolding: 1-click export of typed RESTful endpoints and Flutter-compatible models.