Skip to content

laranail/db-tools

Repository files navigation

laranail/db-tools

Latest version on Packagist Tests Static analysis License: MIT

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.

About

Standalone Laravel database utilities: UUID/ULID traits, schema macros, soft-archive, casts, and backup/restore.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors