sapistudio/laraveldeck
最新稳定版本:1.0.16
Composer 安装命令:
composer require sapistudio/laraveldeck
包简介
A package to install Jetstream with Bootstrap
README 文档
README
LaravelDeck is a developer-first, modular installer package for Laravel control panels. It automates setup for roles, permissions, Jetstream + Bootstrap, Livewire, and additional UI tooling such as EasePick, Tabler, and more — all via a single artisan command.
📦 Features
- 🔹 Jetstream installation with Livewire (and Bootstrap!)
- 🔹 Full Spatie permission system integration
- 🔹 Super Admin role & user seeding
- 🔹 EasePick + custom datepicker installer (no Shadow DOM)
- 🔹 Smart trait injection into models
- 🔹 PostCSS auto-backup and restore
- 🔹 Zero Tailwind. All Bootstrap.
🚀 Installation
composer require sapistudio/laraveldeck
🛠 Usage
LaravelDeck exposes a single entry-point command:
php artisan laraveldeck:manage {component}
Available Components:
install_bootstrap→ Installs Jetstream + Bootstrap + Tablerinstall_permissions→ Adds Spatie permissions, traits, and migrationsadd_user→ Creates a Super Admin user with selected role
You’ll be prompted step-by-step through each setup.
⚙ Example: Full Setup
php artisan laraveldeck:manage install_bootstrap php artisan laraveldeck:manage install_permissions php artisan laraveldeck:manage add_user
🧩 File Structure
Commands/Installer.php– The core installer logicTraits/– Trait injections for modelsComponents/Bootstrap/– Jetstream overrides (Bootstrap based)Components/UserRoles/– Role/User management logicEnums/RoleEnum.php– Centralized rolesHelpers/updateConfigFile.php– Utility for config persistence
🧠 Requirements
- Laravel 11+
- Node.js (for Vite + npm tasks)
- Git (used to clone EasePick repo)
🧰 Helper
You can use the helper class for static info:
use SapiStudio\LaravelDeck\Helpers; LaravelDeck::version(); // returns current version LaravelDeck::components(); // available installable components
📄 License
MIT © YourName or Company.
统计信息
- 总下载量: 30
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2025-04-04