atifrazzaq/weviewer 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

atifrazzaq/weviewer

Composer 安装命令:

composer require atifrazzaq/weviewer

包简介

Here you can see table details, manage logs, monitor system activity, track user actions, view reports, configure settings, and perform various administrative tasks to keep everything running smoothly.

README 文档

README

A comprehensive Laravel package for database management, log monitoring, and application insights with a beautiful Bootstrap 5 interface.

Features

  • 📊 Dashboard - Database statistics and system information
  • 🗃️ Tables Management - View, search, and export database tables
  • 📝 Log Viewer - Monitor application logs with live tail functionality
  • 🛣️ Routes Inspector - View all application routes
  • 🔒 Security - Password-protected access
  • 📱 Responsive Design - Bootstrap 5 with modern UI

Installation

Method 1: Local Package (Development)

  1. Add the package to your Laravel project's composer.json:
{
    "repositories": [
        {
            "type": "path",
            "url": "./packages/atifrazzaq/weViewer"
        }
    ],
    "require": {
        "atifrazzaq/weviewer": "dev-main"
    }
}
  1. Run composer install:
composer install

Method 2: Composer Package (Production)

composer require atifrazzaq/weviewer

Configuration

  1. Publish the config file (optional):
php artisan vendor:publish --provider="Atifrazzaq\WeViewer\Providers\WeViewerServiceProvider" --tag="config"
  1. Set environment variables in .env:
WEVIEWER_ENABLED=true
WEVIEWER_SECURITY_KEY=your-secure-password
  1. Clear config cache:
php artisan config:clear

Usage

  1. Visit /weviewer in your Laravel application
  2. Enter your security key when prompted
  3. Explore your database and logs!

Configuration Options

The package uses the following configuration options in config/weViewer.php:

  • enabled - Enable/disable the package (default: true)
  • security_key - Password for accessing weViewer (default: weviewer123)
  • theme - UI theme (default: light)

Environment Variables

# Enable/disable weViewer
WEVIEWER_ENABLED=true

# Set your security password
WEVIEWER_SECURITY_KEY=your-secure-password

Features Overview

Dashboard (/weviewer)

  • Database statistics (tables, records, size)
  • System information (PHP, Laravel, OS)
  • Quick action buttons
  • Database engine information

Tables (/weviewer/tables)

  • List all database tables
  • Search and sort functionality
  • Export tables as SQL/CSV
  • Pagination support
  • View table records with search

Logs (/weviewer/logs)

  • View all log files from storage/logs
  • Live log monitoring (tail -f functionality)
  • Download and delete log files
  • Adjustable line count display

Routes (/weviewer/routes)

  • View all application routes
  • Search and filter routes
  • Pagination support
  • Route file information

Security

  • Password-protected access
  • Session-based authentication
  • CSRF protection
  • Environment-based configuration

Requirements

  • PHP 8.2+
  • Laravel 12.0+
  • MySQL/PostgreSQL/SQLite database

Browser Support

  • Chrome (latest)
  • Firefox (latest)
  • Safari (latest)
  • Edge (latest)

Contributing

  1. Fork the repository
  2. Create your feature branch
  3. Commit your changes
  4. Push to the branch
  5. Create a Pull Request

License

MIT License

Support

For support, email atifrazzaqdashti@gmail.com or create an issue on GitHub.

Changelog

v1.0.0

  • Initial release
  • Dashboard with database statistics
  • Tables management with export
  • Log viewer with live tail
  • Routes inspector
  • Security authentication

atifrazzaq/weviewer 适用场景与选型建议

atifrazzaq/weviewer 是一款 基于 Blade 开发的 Composer 扩展包,目前已累计 19 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 12 月 20 日, 在 PHP 生态内属于活跃度较高的组件。

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

围绕 atifrazzaq/weviewer 我们能提供哪些服务?
定制开发 / 二次开发

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

BUG 修复 & 性能优化

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

项目外包 & 长期维护

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

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

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-12-20