A modern Laravel 11 application featuring a robust tech stack including Jetstream for authentication, Filament for the admin panel, and Reverb for real-time WebSocket capabilities.
- Authentication & Security: Built on Laravel Jetstream and Sanctum.
- Admin Panel: Powered by Filament v4, including Filament Shield for Role-Based Access Control (RBAC).
- Real-Time Updates: Integrated with Laravel Reverb for WebSocket broadcasting.
- Frontend: Reactive UI components using Livewire and Alpine.js, styled with Tailwind CSS.
- Content Management: Manage Articles and Comments directly from the admin dashboard.
Ensure you have the following installed:
- PHP 8.2+
- Composer
- Node.js & NPM
- Docker (optional, for database/Reverb)
-
Clone the repository
git clone <repository-url> cd laravel11-app
-
Install PHP dependencies
composer install
-
Install JavaScript dependencies
npm install
-
Environment Setup Copy the example environment file and configure your database settings:
cp .env.example .env php artisan key:generate
Note: Ensure your database credentials in
.envmatch your local setup. -
Database Migration Run migrations to set up the database schema:
php artisan migrate
-
Create Admin User Create a user to access the Filament admin panel:
php artisan make:filament-user
Start the Laravel development server:
php artisan serveCompile assets in watch mode:
npm run devStart the Reverb WebSocket server:
php artisan reverb:startProcess background jobs:
php artisan queue:listenAccess the application at http://localhost:8000 and the admin panel at http://localhost:8000/admin.
Run the test suite using PHPUnit / Pest:
php artisan test