atifrazzaq/weviewer
最新稳定版本:1.0.6
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)
- Add the package to your Laravel project's
composer.json:
{
"repositories": [
{
"type": "path",
"url": "./packages/atifrazzaq/weViewer"
}
],
"require": {
"atifrazzaq/weviewer": "dev-main"
}
}
- Run composer install:
composer install
Method 2: Composer Package (Production)
composer require atifrazzaq/weviewer
Configuration
- Publish the config file (optional):
php artisan vendor:publish --provider="Atifrazzaq\WeViewer\Providers\WeViewerServiceProvider" --tag="config"
- Set environment variables in
.env:
WEVIEWER_ENABLED=true WEVIEWER_SECURITY_KEY=your-secure-password
- Clear config cache:
php artisan config:clear
Usage
- Visit
/weviewerin your Laravel application - Enter your security key when prompted
- 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
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- 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
统计信息
- 总下载量: 12
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-12-20