nick-kh/new-voyager
最新稳定版本:v1.2.3
Composer 安装命令:
composer require nick-kh/new-voyager
包简介
A Laravel Admin Package for The Control Group to make your life easier and steer your project in the right direction
README 文档
README
A powerful and modern admin panel for Laravel 12, designed to make your development process faster and more efficient.
✨ Prerequisites
| Requirement | Version |
|---|---|
| Laravel | 12.0 |
| PHP | 8.3 |
| MySQL | 5.7 |
📦 Installation Guide
🛠️ Setting Up Laravel Project
-
Install new Laravel project
-
Enter project root directory and run:
composer install
-
Configure environment:
- Create
.envfile - Configure database (MySQL recommended)
- Create
-
Generate application key:
php artisan key:generate
-
Create storage link:
php artisan storage:link
-
Install and build assets:
npm install && npm run build -
Run migrations:
php artisan migrate
🎯 Installing New-Voyager Package
-
Install the package:
composer require nick-kh/new-voyager
Note: if you receive error like this:
- laravel/framework is locked to version v12.2.0 and an update of this package was not requested.
- carbonphp/carbon-doctrine-types 3.2.0 conflicts with doctrine/dbal 3.9.2.
Just delete composer.lock file and run command again
-
Choose installation type:
# With dummy data php artisan new-voyager:install --with-dummy # Clean installation php artisan new-voyager:install
-
Start the development server:
php artisan serve
Then visit:
http://localhost:8000/admin -
Default Admin Credentials (if installed with dummy data):
📧 Email: admin@admin.com 🔑 Password: password
👥 Admin User Management
Assign admin privileges to existing user:
php artisan new-voyager:admin your@email.com
Create new admin user:
php artisan new-voyager:admin your@email.com --create
📚 Documentation
For comprehensive documentation, visit the Official Voyager Documentation 📖
📝 License
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ for the Laravel Community
统计信息
- 总下载量: 118
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-03-03