druidweb/druid
Composer 安装命令:
composer create-project druidweb/druid
包简介
The skeleton application for the Laravel framework.
关键字:
README 文档
README
Druid Starter Kit
The most comprehensive and battle-tested Laravel + Vue starter kit available. Built with modern best practices, complete testing coverage, and production-ready tooling to accelerate your development from day one. Features cutting-edge technologies like Laravel 13, Inertia 3, Vue 3 with TypeScript, Tailwind 4, and a complete CI/CD pipeline with automated testing and deployment.
Unlike other starter kits that give you a basic setup and leave you to figure out the rest, Druid provides a complete development ecosystem. Every component is tested, every workflow is automated, and every decision has been made with scalability and maintainability in mind. From comprehensive testing with Pest and Vitest to automated semantic releases, this isn't just a starter kit, it's a complete foundation for building production applications that can grow with your business.
Druid includes all Laravel Jetstream and Fortify features - Teams, API tokens, profile management, two-factor authentication, browser sessions, password reset, email verification, and more - rebuilt from the ground up with Vue 3, TypeScript, and 100% test coverage.
Features
Core Stack
- 🚀 Laravel 13 - Latest Laravel with PHP 8.5+ support
- ⚡️ Vue 3 with Vite and SSR support
- 🧩 Shadcn-Vue - Beautiful, accessible UI components
- 🔧 TypeScript - Full type safety across the stack
- 🎨 Tailwind 4 with dark mode support
- 📱 Inertia.js 3 - Modern SPAs with the new v3 adapter and resolver API
Authentication & Security (Fortify + Jetstream Features)
- 🔐 Two-Factor Authentication - TOTP-based 2FA with recovery codes
- 🔑 API Token Management - Personal access tokens with granular permissions
- 👥 Team Management - Create teams, invite members, assign roles
- 📧 Team Invitations - Email-based invitations with signed URLs
- 🖼️ Profile Photos - User avatar uploads with automatic storage
- 📋 Browser Sessions - View and logout other active sessions
- 🗑️ Account Deletion - Self-service deletion with confirmation
- 📜 Terms & Privacy Policy - Legal document pages with agreement tracking
- 🔒 Password Reset - Secure email-based password recovery
- ✉️ Email Verification - Verified email enforcement
- 🔄 Password Confirmation - Sensitive action protection
- 🛡️ Laravel Fortify - Backend authentication scaffolding
- 🔒 Laravel Sanctum - Cookie and token-based API auth
Developer Experience
- 🧪 Pest PHP - Elegant testing with 100% code coverage
- ⚡️ Vitest - Lightning-fast JavaScript unit testing
- 🔍 Larastan - Static analysis at max level
- 🤖 Laravel PAO - Agent-optimized output for Pest, PHPStan, and Paratest so AI assistants can read test results cleanly
- 📝 ESLint + Prettier - Consistent code style
- 🔄 Automated semantic releases with conventional commits
- 👷 GitHub Actions CI/CD with parallel testing
- 💯 100% code coverage with automated badge reporting
Feature Configuration
All Jetstream-equivalent features are configurable in config/teams.php:
'features' => [ Features::termsAndPrivacyPolicy(), // Terms of Service & Privacy Policy pages Features::profilePhotos(), // User profile photo uploads Features::api(), // API token management Features::teams(['invitations' => true]), // Teams with email invitations Features::accountDeletion(), // Self-service account deletion ],
Simply remove any feature from the array to disable it. The UI automatically adapts to show only enabled features.
Requirements
- PHP 8.5 or higher
- Composer 2+
- Node.js 24+ (preferably Bun)
- SQLite / MySQL / PostgreSQL
Installation
First, ensure you have the Laravel installer v5.14+ installed globally:
composer global require laravel/installer
Then create a new Laravel application using this starter kit:
laravel new my_app --using=druidweb/druid
For more information about Laravel starter kits, please refer to the Laravel documentation.
Development
# Update all dependencies bun run cb # Start development server composer dev # Build for production bun run build # Format code composer lint # Run PHP static, type, and feature tests composer test # Run JavaScript tests --currently 89% coverage bun run test
Maintenance Branches
This starter kit follows semantic versioning using maintenance branches:
main- Latest development versionN.x- Maintenance branches for major versions (e.g.,1.x,2.x)
Contributing
Please see CONTRIBUTING.md for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
License
The MIT License (MIT). Please see License File for more information.
druidweb/druid 适用场景与选型建议
druidweb/druid 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 36 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 04 月 17 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「framework」 「laravel」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 druidweb/druid 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 druidweb/druid 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 druidweb/druid 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
PHP Framework HLEB2 is the foundation of the web application. Provides ease of development and application performance.
Alfabank REST API integration
High-performance, opinionated PHP 8 web framework with O(1) routing, parallel async MySQL, type-safe asset bridge, and React-island frontend
Laravel package for Accurate Online API integration.
The skeleton application for the Geoffrey agent framework.
Shared RCX Laravel DataTables UI and configuration helpers.
统计信息
- 总下载量: 36
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 14
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-04-17