Panelix is a modern Laravel 12 Admin Dashboard Starter Kit with a built-in installer. It helps you quickly scaffold a fresh project on your local machine, giving you a ready-to-use admin panel, preconfigured environment, and minimal setup hassle.
- Requirements
- Global Installation
- Creating a New Panelix Project
- Database Setup
- Running Migrations & Seeders
- Serving the Project
- Custom Domain & CDN_URL
- Manual Steps
- Troubleshooting
- Support
- License
Before using the installer, ensure your system has:
- PHP ≥ 8.2
- Composer
- Git
- MySQL (optional, for automatic database creation)
- Laravel 12 compatible environment
Install the installer globally using Composer:
composer global require panelix/installer
Make sure your global Composer
vendor/bin
directory is in your system PATH:
- Windows:
C:\Users\<YourUser>\AppData\Roaming\Composer\vendor\bin
- Linux/macOS:
~/.composer/vendor/bin
or~/.config/composer/vendor/bin
You may need to restart your terminal after adding the path.
Once installed, you can create a new Panelix project with:
panelix new myproject
Replace myproject
with your desired project directory name.
If you leave it blank, the default directory will be
panelix-app
.
During installation, the installer will:
-
Prompt you to enter a database name (press Enter to use the default
panelix_db
):Enter database name (default: panelix_db):
-
Attempt to create the database automatically if MySQL is available.
If MySQL is not detected or database creation fails, you’ll see:
⚠️ Database was not created automatically.
➡️ Please create it manually:
CREATE DATABASE your_database_name;
(You can use phpMyAdmin or any MySQL management tool)
➡️ Then run:
php artisan migrate --seed
The installer will automatically update the .env
file with the database name, username, and password.
The installer attempts to run migrations and seeders automatically after database setup.
If this step fails or is skipped, run manually:
php artisan migrate --seed
After installation, the installer starts the Laravel development server:
🚀 Starting Laravel development server...
✅ Panelix Project is ready!
👉 Serving at: http://127.0.0.1:8000
👉 Project directory: myproject
You can access your Panelix dashboard at the provided URL.
If you are using Herd, Valet, WSL, or any custom domain (e.g., xyz.test
), you need to set the CDN_URL
in your .env
file:
CDN_URL=http://xyz.test
This ensures assets, images, and links load correctly in your dashboard.
💡 Tip: Also update
APP_URL
in.env
if you're using a custom domain:APP_URL=http://xyz.test
If the installer fails to create the database or run migrations, follow these steps manually:
CREATE DATABASE your_database_name;
Set your database credentials:
DB_DATABASE=your_database_name
DB_USERNAME=root
DB_PASSWORD=
php artisan migrate --seed
php artisan serve
- ❗ If
panelix
command is not found, ensure Composer’s globalvendor/bin
is in yourPATH
. - ❗ If database creation fails, verify MySQL is running and accessible with your credentials.
- ❗ If assets don’t load properly, double-check
CDN_URL
andAPP_URL
in.env
. - ❗ Clear config cache after changes:
php artisan config:clear
Developer: Md. Anik Rahman
Email: a7604366@gmail.com
MIT