pixel-parfait / laravel-admin
The skeleton application for the Laravel framework including an admin panel.
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:Vue
Type:project
Requires
- php: ^8.2
- inertiajs/inertia-laravel: ^1.0
- intervention/image: ^3.5
- laravel/framework: ^11.0
- laravel/sanctum: ^4.0
- laravel/tinker: ^2.9
- spatie/laravel-permission: ^6.4
- spatie/laravel-sitemap: ^7.2
- tightenco/ziggy: ^2.1
Requires (Dev)
- barryvdh/laravel-debugbar: ^3.13
- fakerphp/faker: ^1.23
- laravel/pint: ^1.13
- laravel/sail: ^1.26
- mockery/mockery: ^1.6
- nunomaduro/collision: ^8.0
- pestphp/pest: ^2.34
- pestphp/pest-plugin-laravel: ^2.3
- pixel-parfait/laravel-admin-commands: ^0.1.0
- spatie/laravel-ignition: ^2.4
README
A boilerplate for Laravel based applications with an admin panel.
Install
Install dependencies
composer install
yarn install
Set environment variables
cp .env.example .env
Setup database
php artisan key:generate
php artisan migrate
Generate routes manifest
php artisan app:routes
Create views
php artisan admin:pages
Create controllers
php artisan admin:controller
Asset Bundling
Application
yarn dev
yarn build
Admin Panel
yarn dev:admin
yarn build:admin
SSR
Build
yarn build:ssr
Start SSR server
php artisan inertia:start-ssr
Local sharing
For LAN sharing, set VITE_LOCAL
to true
and VITE_LOCAL_IP_ADDRESS
to your local IP address
VITE_LOCAL=true
VITE_LOCAL_IP_ADDRESS=192.168.1.92
Start the local server
php artisan serve --host=0.0.0.0
Start the Vite server
yarn dev:local