bangjhon/laravel-pro-starter
Composer 安装命令:
composer require bangjhon/laravel-pro-starter
包简介
A premium Laravel starter package with custom authentication, role-based dashboards, and modern Tailwind-powered UI.
README 文档
README
bangjhon/laravel-pro-starter is a production-ready Laravel package that adds a custom authentication system, role-aware dashboards, and a premium modern UI to any Laravel 10+ application.
Features
- Custom authentication flow built with Laravel controllers and middleware
- Registration, login, logout, remember me, and role-based redirects
adminanduserroles out of the box- Premium dashboard UI with sidebar, topbar, stat cards, tables, and responsive auth screens
- Publishable config, views, and assets
- Install command that publishes package resources, runs migrations, and seeds a default admin user
- Extendable activity log table for dashboard metrics
Requirements
- PHP 8.1+
- Laravel 10, 11, 12, or 13
Installation
Install the package via Composer:
composer require bangjhon/laravel-pro-starter
Run the installer:
php artisan bangjhon:install
The installer will:
- publish configuration
- publish Blade views
- publish assets
- run package migrations
- seed a default admin account
- print the generated credentials and next steps
Default Routes
The package registers the following routes by default:
/login/register/logout/dashboard/admin/dashboard/admin/users
All route names are prefixed with bangjhon..
Default Admin Credentials
These values come from config/bangjhon-pro-starter.php and can be changed before running the installer.
- Email:
admin@bangjhon.test - Password:
password123
Usage
After installation:
- Visit
/registerto create a standard user account. - Visit
/loginto sign in. - Users are redirected to
/dashboard. - Admins are redirected to
/admin/dashboard.
Use the included role middleware on your own routes:
Route::middleware(['web', 'auth', 'bangjhon.role:admin'])->group(function () { Route::get('/reports', fn () => 'Only admins can see this'); });
Configuration
Publish the package configuration manually if needed:
php artisan vendor:publish --tag=bangjhon-pro-starter-config
Useful options:
- route prefix
- route middleware stack
- registration toggle
- branding labels
- seeded admin credentials
Published Resources
php artisan vendor:publish --tag=bangjhon-pro-starter-config php artisan vendor:publish --tag=bangjhon-pro-starter-views php artisan vendor:publish --tag=bangjhon-pro-starter-assets
Screenshots
- Auth screen placeholder:
docs/screenshots/login.png - Admin dashboard placeholder:
docs/screenshots/admin-dashboard.png - User dashboard placeholder:
docs/screenshots/user-dashboard.png
Example Commands
php artisan bangjhon:install php artisan migrate php artisan vendor:publish --tag=bangjhon-pro-starter-views php artisan route:list --name=bangjhon
Extending The Package
- Update the published views to match your brand.
- Extend the
bangjhon_activity_logstable with your own event metadata. - Reuse the package middleware and layout structure for additional admin pages.
Testing
composer test
Preview
License
MIT
bangjhon/laravel-pro-starter 适用场景与选型建议
bangjhon/laravel-pro-starter 是一款 基于 Blade 开发的 Composer 扩展包,目前已累计 6 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 04 月 23 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「package」 「Authentication」 「laravel」 「dashboard」 「starter」 「tailwind」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 bangjhon/laravel-pro-starter 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 bangjhon/laravel-pro-starter 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 bangjhon/laravel-pro-starter 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Automatically logs-in users if they are already authenticated by a remote source. (e.g. environment variable REMOTE_USER)
GraphQL authentication for your headless Craft CMS applications.
Laravel middleware to restrict a site or specific routes using HTTP basic authentication
Email Toolkit Plugin for CakePHP
Simple ASCII output of array data
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 32
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-04-23