This is a repository created to show how to create an Admin Panel in Laravel 12 using the Livewire Starter Kit(without Volt), using an "Admin" Model and with all the authentication features available in the "User" Model.
Since the Breeze and Jetstream packages have been discontinued, this repository was created to show how to create the same functionality without them.
- Admin Authentication(login, register, password reset, password confirmation, email verification)
- Automatic Redirection to
admin.login
route if not authenticated(using Exception Handler) - Automatic Redirection to
admin.index
route if authenticated - Admin Views(clone of default views)
- Laravel 12(with Livewire Starter Kit)
- Livewire 3(without Volt)
- Tailwind CSS
- Alpine.js
- PHP >= 8.2
- Composer
- Node.js
- NPM
- Clone the repository
git clone rubensrocha/Laravel-12-Admin-Starter-Kit-Livewire
- Change directory to the cloned repository
cd Laravel-12-Admin-Starter-Kit-Livewire
- Install the dependencies
composer install
- Copy the
.env.example
file to.env
cp .env.example .env
- Generate the application key
php artisan key:generate
- Create the database and update the
.env
file with the database credentials
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=laravel
DB_USERNAME=root
DB_PASSWORD=
- Run the migrations
php artisan migrate
- Install the frontend dependencies
npm install
- Build the frontend assets
npm run build
- Start the development server
php artisan serve
- Visit the application in your browser
http://localhost:8000
- Visit the
/admin
route to access the admin panel - You can change
/admin
prefix in thebootstrap/app.php
file
The Laravel framework, and this repository, is open-sourced software licensed under the MIT license.