laranail/db-tools
Composer 安装命令:
composer require laranail/db-tools
包简介
Independent Laravel database utilities — model traits (UUID/NanoID/ULID, audit log, soft-deletes-with-undo, soft-archive, JSON accessors), casts (money, datetime), schema macros & field groups, backup/restore, a database CLI command, connection & table inspection, a session read-model, and cursor +
关键字:
README 文档
README
Independent, framework-agnostic database utilities for Laravel — model traits (UUID/NanoID/ULID keys, JSON accessors, slugs, soft-archiving), money & datetime casts, schema macros, an audit observer, backup/restore, a database CLI, cursor/offset pagination, and inspection services.
PHP ^8.4 || ^8.5 on Laravel ^13 — depends only on illuminate/* plus a few small libraries, with no dependency on other Laranail packages.
Install
composer require laranail/db-tools
DbToolsServiceProvider is auto-discovered and registers the schema macros at boot.
Documentation
Full documentation is at opensource.simtabi.com/documentation/laranail/db-tools — installation, getting started, the model traits, casts, schema macros, the audit observer, backup/restore, the database CLI, and configuration.
Contributing & security
Issues and PRs are welcome — see CONTRIBUTING.md. Report vulnerabilities per SECURITY.md (opensource@simtabi.com); participation follows the Code of Conduct.
License
MIT © Simtabi LLC. See LICENSE.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-07-08