承接 httpsnader1/database-controllers 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

httpsnader1/database-controllers

Composer 安装命令:

composer require httpsnader1/database-controllers

包简介

Control your laravel database

README 文档

README

A powerful Laravel package to manage your database directly from your dashboard. Easily view tables, manage records, export/import backups, and more.

Features

📊 Database Overview

  • Real-time Statistics: View total number of tables, total records, and current database size.
  • Environment Details: Quick access to connection details (Host, Port, Database, Driver) and PHP/Laravel versions.
  • Backup Status: See the date of your most recent backup at a glance.

🗄️ Advanced Table Management

  • Smart Browsing: Explore all tables in your database with an intuitive UI.
  • Full CRUD Support: Add, Edit, and Delete records effortlessly.
  • Smart Field Handling:
    • Automatic Hashing: Automatically hashes fields named password.
    • Timestamps: Handles created_at and updated_at automatically.
    • Primary Key Detection: Support for MySQL and SQLite primary key identification.
  • Bulk Operations: Perform bulk deletes or truncate entire tables with foreign key constraint safety.
  • Powerful Filtering: Filter records using operators like LIKE, IN, =, IS NULL, and IS NOT NULL.
  • Flexible Sorting: Sort data by any column in ascending or descending order.

📂 Backup & Export

  • Flexible Exports: Choose between exporting the full database or just the structure.
  • Multiple Formats: Support for both standard .sql files and compressed .zip archives.
  • Smart Exclusions: Easily exclude specific tables (like logs or sessions) from your backups to keep them lightweight.
  • Backup Library: View, download, or delete previous backups directly from the dashboard.

🔄 Import & Restore

  • File Uploads: Import .sql or .zip files directly through the browser.
  • Local Restoration: Restore your database from any existing local backup with a single click.
  • Background Jobs: Support for background processing for large imports to prevent timeout issues.
  • CLI Power: Includes a specialized db:restore artisan command for massive database files.

🛡️ Security & Localization

  • Password Protection: Optional dashboard access protection via configurable password.
  • Multi-language Support: Fully localized in:
    • 🇺🇸 English (EN)
    • 🇸🇦 Arabic (AR)
    • 🇫🇷 French (FR)
    • 🇪🇸 Spanish (ES)

Installation

You can install the package via composer:

composer require httpsnader1/database-controllers

If you are developing locally and have the package in a packages folder:

"repositories": [
    {
        "type": "path",
        "url": "./packages/httpsnader1/database-controllers"
    }
],
"require": {
    "httpsnader1/database-controllers": "dev-master"
}

Configuration

You can publish the configuration file using:

php artisan vendor:publish --provider="Httpsnader1\DatabaseControllers\DatabaseControllersServiceProvider" --tag="config"

The configuration file will be available at config/database-controllers.php.

Available Options

  • route_prefix: The URL prefix for the dashboard (default: database-controllers).
  • password: Password for dashboard access. Set to null to disable protection (default: 1234).
  • backup_prefix: Prefix for all generated backup files (default: backup).
  • excluded_tables: Array of tables to hide from the dashboard and backups.
  • default_per_page: Default number of rows per page in the table viewer (default: 10).
  • per_page_options: Options for the rows per page dropdown.

Usage

Access the dashboard by visiting: your-app.test/database-controllers

CLI Restore Command

For very large files, it's recommended to use the Artisan command:

# Restore from a direct path
php artisan db:restore path/to/backup.sql

# Restore from the local backups folder
php artisan db:restore my-backup.zip --from-backups

Large File Support

The package is specifically optimized to handle large database imports and exports (1.8 GB and above) by:

  • Increasing PHP memory limits dynamically.
  • Setting unlimited execution time.
  • Using --quick and --single-transaction for mysqldump.
  • Handling large SQL warning/error outputs efficiently to prevent memory crashes.
  • Utilizing background jobs and Artisan commands for heavy operations.

Local Development (Laragon)

This package is optimized for Windows/Laragon environments and will automatically search for mysql and mysqldump binaries in standard Laragon paths.

License

The MIT License (MIT). Please see License File for more information.

httpsnader1/database-controllers 适用场景与选型建议

httpsnader1/database-controllers 是一款 基于 Blade 开发的 Composer 扩展包,目前已累计 268 次下载、GitHub Stars 达 2, 最近一次更新时间为 2026 年 04 月 07 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 httpsnader1/database-controllers 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 httpsnader1/database-controllers 我们能提供哪些服务?
定制开发 / 二次开发

基于 httpsnader1/database-controllers 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 268
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 0
  • Forks: 0
  • 开发语言: Blade

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-04-07