laravilt/schemas
Composer 安装命令:
composer require laravilt/schemas
包简介
Complete schema system with sections, tabs, grids, and layout components. Organize form fields and information displays with powerful layout components supporting collapsible sections, responsive grids, and nested schemas.
README 文档
README
Laravilt Schemas
Complete schema system with sections, tabs, grids, and layout components for Laravilt. Organize form fields and information displays with powerful layout components.
Features
- 📦 8 Layout Components - Section, Tabs, Grid, Fieldset, Split, Wizard, Step, Columns
- 🎨 Section Features - Collapsible, icons, headers, footers, aside layout
- 📑 Tab Features - Multiple tabs, icons, badges, lazy loading
- 📐 Grid Features - 1-12 column layouts, responsive spans
- ⚡ Reactivity - Conditional visibility, dynamic fields, state management
- 🔄 Nested Schemas - Support for deeply nested layouts
Layout Components
| Component | Description |
|---|---|
Section |
Collapsible sections with headings and icons |
Tabs |
Tabbed interfaces with badges |
Grid |
Responsive multi-column layouts |
Fieldset |
HTML fieldset grouping |
Split |
Two-column responsive layouts |
Wizard |
Multi-step form workflows |
Step |
Individual wizard steps |
Columns |
Simple two-column wrapper |
Quick Examples
Section with Columns
use Laravilt\Schemas\Components\Section; use Laravilt\Forms\Components\TextInput; Section::make('Product Information') ->description('Basic product details') ->icon('Package') ->columns(2) ->collapsible() ->schema([ TextInput::make('name')->required(), TextInput::make('sku')->required(), TextInput::make('price')->numeric()->prefix('$'), TextInput::make('stock')->numeric(), ]);
Tabs
use Laravilt\Schemas\Components\Tabs; use Laravilt\Schemas\Components\Tab; Tabs::make('product_tabs') ->tabs([ Tab::make('details') ->label('Details') ->icon('FileText') ->schema([...]), Tab::make('pricing') ->label('Pricing') ->icon('DollarSign') ->badge(fn ($record) => $record?->has_discount ? 'Sale' : null) ->schema([...]), ]);
Wizard
use Laravilt\Schemas\Components\Wizard; use Laravilt\Schemas\Components\Step; Wizard::make() ->steps([ Step::make('account') ->label('Account') ->icon('User') ->schema([...]), Step::make('profile') ->label('Profile') ->icon('Settings') ->schema([...]), ]) ->skippable();
Installation
composer require laravilt/schemas
Generator Command
php artisan make:schema ProductSchema
Documentation
- Complete Documentation - All layout components and features
- MCP Server Guide - AI agent integration
License
The MIT License (MIT). Please see License File for more information.
laravilt/schemas 适用场景与选型建议
laravilt/schemas 是一款 基于 Vue 开发的 Composer 扩展包,目前已累计 748 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 11 月 12 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「laravel」 「layouts」 「tabs」 「sections」 「organization」 「schemas」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 laravilt/schemas 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 laravilt/schemas 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 laravilt/schemas 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Create tabs as content element. Extension for Contao Open Source CMS
Kirby Layouts
Laravel Livewire Tab Form component
Add edit and admin tabs to admin menu and move updates after option menu
Schema layout components for Accelade - organize forms with sections, tabs, grids, wizards and more
Helps CMS Users navigate through tabs in Elemental CMS Interface by providing clickable links to switch tabs.
统计信息
- 总下载量: 748
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 35
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-11-12
