lara-zeus/chaos
Composer 安装命令:
composer require lara-zeus/chaos
包简介
README 文档
README
Chaos
Chaos is the mythological void state preceding the creation of the universe.
💖 if you think this has potential, star ⭐️ the project to let me know :)
Versions
| Plugin Version | Filament Version |
|---|---|
v1.x |
v3.x |
v2.x |
v4.x |
v3.x |
v5.x |
Support Filament
Opinionated Filament Setup
zeus chaos is a thin convention layer on top of Filament. It standardizes how resources, forms, tables, infolists, and models handle things you repeat on every CRUD screen.
Laravel Boost Skill
Chaos includes a skill file for Laravel Boost. This skill instructs AI assistants (like Claude Code and Cursor) on how to correctly migrate and standardize a project to the lara-zeus/chaos architecture. It covers database migrations (actionBy, softDeletes), model traits (ChaosModel), and strict usage of ChaosResource, ChaosForms, ChaosTables, and ChaosInfos.
Features
ChaosModel— setscreated_by/updated_byon save, definescreatedBy()/updatedBy()relations, and exposesisUsingActionBy()/isUsingSoftDelete()so UI code can turn columns on or off.- Blueprint macros —
actionBy()anddropActionBy()for migrations. ChaosResource— derives model labels from a lang file named from the resource slug; adjusts the Eloquent query (soft-delete scope, eager-loadingcreatedBy/updatedBywhen enabled).ChaosForms— shared grid layout with your schema on the main area and an optional sidebar (your sections + collapsible “record info”: timestamps, created-by popover via Popover).ChaosTables— ID + timestamp columns, created by / updated by popover columns, deleted at when soft deletes are on, trashed filter, default pagination 25 and sort by primary key desc, row action group (view / edit / delete / force delete / restore when allowed), and bulk delete / force delete / restore.ChaosInfos— infolist/Schemalayout with record info sidebar (created/updated timestamps and by-fields).ChaosEditRecord,ChaosListRecords,ChaosViewRecord— header actions wired to View / Delete / Create / Edit only when the resource actually registers those pages.MultiLang— tabs perconfig('app.locales')for a translatable attribute (pairs well with Spatie Translatable).UserCardColumn— thin alias of Popover’sPopoverColumnfor user detail popovers in tables.
Full Documentation
Visit our website to get the complete documentation: https://larazeus.com/docs/chaos
Support
Available support channels:
- Join our channel on Discord
- Open an issue on GitHub
- Email us using the contact center
lara-zeus/chaos 适用场景与选型建议
lara-zeus/chaos 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 5.49k 次下载、GitHub Stars 达 3, 最近一次更新时间为 2024 年 03 月 03 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 lara-zeus/chaos 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 lara-zeus/chaos 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 5.49k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 13
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-03-03