abhishekpriy9/bs5larastarter
Composer 安装命令:
composer require abhishekpriy9/bs5larastarter
包简介
A Bootstrap 5 Laravel 11/12/13 admin panel starter package using Sneat theme.
README 文档
README
A simple, modern admin panel starter kit for Laravel 11, 12, and 13, built with Bootstrap 5 and powered by the Sneat Bootstrap 5 Admin Template. This package provides a ready-to-use admin panel with authentication, user profile management, settings, and more.
Minimum Requirements
- PHP >= 8.2 (PHP >= 8.3 required for Laravel 13)
- Laravel 11, 12, or 13
- Node.js >= 18.x
- Composer
- NPM
Admin Panel Screenshot
Example: Sneat Bootstrap 5 Admin Dashboard
Features
- Laravel 11/12/13 support
- Bootstrap 5 (Sneat theme) UI
- Admin authentication (login/logout)
- Role-based access (admin only)
- User profile management
- Site settings management
- Responsive dashboard
- Vite asset bundling
- Clean code structure for easy customization
Credits
- Sneat Bootstrap 5 Admin Template by ThemeSelection
Installation
Warning: This package will wipe your database and create a new admin user. Use only on a fresh Laravel project.
-
Require the package via Composer:
composer require abhishekpriy9/bs5larastarter
-
Run the installation command:
php artisan bs5:install
- You will be prompted to confirm database wipe and admin user creation.
- Follow the prompts to set admin name, email, and password.
-
Install Node.js dependencies:
npm install
-
Start the Vite development server:
npm run dev
- For production, use:
npm run build
- For production, use:
-
Access the admin panel:
Usage
- Admin Login:
/admin/login - Dashboard:
/admin/dashboard - Profile:
/admin/profile/edit - Settings:
/admin/settings
File Structure
See the stubs/ directory for published controllers, views, assets, and routes.
Customization
- Views: Edit files in
resources/views/admin/for dashboard, login, profile, and settings pages. - Assets: Customize CSS/JS in
resources/admin/assets/. - Settings: Extend
app/Models/Setting.phpandconfig/settings.phpfor site configuration. - Middleware: Modify
app/Http/Middleware/AdminMiddleware.phpfor access control.
Troubleshooting
Watchers Limit Exceeded Error
If you see an error like ENOSPC: System limit for number of file watchers reached when running npm run dev, you need to increase the watchers limit on your system.
To fix this on Linux, run:
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf sudo sysctl -p
This increases the number of files your system can watch, which is required for Vite and Laravel Mix to work properly.
FAQ
Will this package overwrite my existing database?
Yes. The install command runs migrate:fresh, which wipes all tables and data. Use only on a fresh Laravel project.
Can I use this with an existing Laravel app?
It’s designed for new projects. Using it on an existing app may cause data loss and conflicts.
How do I change the admin panel URL?
Edit the published routes/admin.php file and update route prefixes as needed.
How do I add more admin users?
Register new users via the database or extend the admin registration logic in your controllers.
How do I customize the theme?
Edit assets in resources/admin/assets/ and views in resources/views/admin/.
Sneat Theme License
This package uses the Sneat Bootstrap 5 Admin Template (free version). For commercial use or advanced features, please purchase a license from ThemeSelection.
Contributing
Pull requests and issues are welcome!
License
MIT
Developed by AbhishekPriy9
abhishekpriy9/bs5larastarter 适用场景与选型建议
abhishekpriy9/bs5larastarter 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 47 次下载、GitHub Stars 达 2, 最近一次更新时间为 2025 年 09 月 04 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「package」 「laravel」 「dashboard」 「admin panel」 「starter kit」 「Bootstrap 5」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 abhishekpriy9/bs5larastarter 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 abhishekpriy9/bs5larastarter 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 abhishekpriy9/bs5larastarter 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A short description of what your package does
Scout support for MoonShine
Production-ready Laravel Prometheus metrics package with built-in collectors for HTTP, database, cache, queue, events, errors, filesystem, and mail monitoring
Simple ASCII output of array data
Laravel Package for integrating Tabler template and this package is Laravel Mix friendly.
统计信息
- 总下载量: 47
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 17
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-09-04
