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.loginroute if not authenticated(using Exception Handler) - Automatic Redirection to
admin.indexroute 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.examplefile to.env
cp .env.example .env- Generate the application key
php artisan key:generate- Create the database and update the
.envfile 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
/adminroute to access the admin panel - You can change
/adminprefix in thebootstrap/app.phpfile
The Laravel framework, and this repository, is open-sourced software licensed under the MIT license.
