| Install | |
|---|---|
composer require joris/laravel-skeleton |
|
| Latest Version: | v1.0.1 |
| PHP: | ^8.2 |
This project is a pre-configured skeleton application that combines Laravel, Filament Admin Panel, Inertia.js and React to provide a comprehensive starting point for web application development.
composer create-project joris/laravel-skeleton
cd laravel-filament-inertia-react-skeleton
composer setup
Clone the repository:
git clone https://github.com/yourusername/laravel-filament-inertia-react-skeleton.git
cd laravel-filament-inertia-react-skeleton
Install PHP dependencies:
composer install
Create environment file:
cp .env.example .env
php artisan key:generate
Install JavaScript dependencies:
npm install
# or if using pnpm
pnpm install
Start the development environment:
# Using Laravel Sail (Docker)
./vendor/bin/sail up
# Or using the composer script
composer dev
# Start all services (Laravel server, queue worker, logs, and Vite)
composer dev
# Start with SSR enabled
composer dev:ssr
# Run only Vite dev server
npm run dev
# Build frontend assets
npm run build
# Build with SSR support
npm run build:ssr
# Format code with Prettier
npm run format
# Check formatting
npm run format:check
# Lint JavaScript/TypeScript
npm run lint
# Type checking
npm run types
# Run tests
composer test
This project uses Laravel Sail for Docker integration. The Docker setup includes:
You can start the Docker environment with:
./vendor/bin/sail up
The project follows the standard Laravel structure with some additions:
/app - Laravel application code/resources/js - React components and frontend code/resources/css - CSS files including Tailwind CSS/public - Compiled assets and static filesThis project is open-sourced software licensed under the MIT license.