定制 bangjhon/laravel-pro-starter 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

bangjhon/laravel-pro-starter

最新稳定版本:v1.1.0

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
  • admin and user roles 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:

  1. Visit /register to create a standard user account.
  2. Visit /login to sign in.
  3. Users are redirected to /dashboard.
  4. 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_logs table with your own event metadata.
  • Reuse the package middleware and layout structure for additional admin pages.

Testing

composer test

Preview

Dashboard Login

License

MIT

统计信息

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

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固