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
Fund package maintenance!
tnylea
fletch3555
emptynick
Requires
- php: ^7.3|^7.4|^8.0|^8.1|^8.2|^8.3
- ext-json: *
- arrilot/laravel-widgets: ^3.7
- doctrine/dbal: 3.9.2
- illuminate/support: ~8.0|~9.0|~10.0|~11.0|~12.0
- intervention/image: ^2.7
- laravel/ui: >=1.0
- league/flysystem: ~1.1|~2.0|~3.0
Requires (Dev)
- laravel/browser-kit-testing: >=6.1.0
- laravel/framework: ~8.0|~9.0|~10.0|~11.0|~12.0
- orchestra/testbench: >=6.0
- orchestra/testbench-browser-kit: >=4.0
- phpunit/phpcov: >=6.0
- phpunit/phpunit: >=8.0
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
.env
file - 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