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

v1.2.3 2025-03-14 03:07 UTC

This package is auto-updated.

Last update: 2025-03-14 03:08:14 UTC


README

Laravel Version PHP Version MySQL Version License

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

  1. Install new Laravel project

  2. Enter project root directory and run:

    composer install
  3. Configure environment:

    • Create .env file
    • Configure database (MySQL recommended)
  4. Generate application key:

    php artisan key:generate
  5. Create storage link:

    php artisan storage:link
  6. Install and build assets:

    npm install && npm run build
  7. Run migrations:

    php artisan migrate

๐ŸŽฏ Installing New-Voyager Package

  1. 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

  2. Choose installation type:

    # With dummy data
    php artisan new-voyager:install --with-dummy
    
    # Clean installation
    php artisan new-voyager:install
  3. Start the development server:

    php artisan serve

    Then visit: http://localhost:8000/admin

  4. 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

Report Bug ยท Request Feature