Laravel 12 livewire starter kit
Antoine • 9 August 2025
laravelLaravel is a web application framework.
Tailwind CSS is a customizable, low-level CSS framework.
Breeze is a minimal, simple implementation of all of Laravel's authentication features, including login, registration, password reset, email verification, and password confirmation
Requirements
Install Laragon according to this post.
Laravel installer
Install the Laravel installer CLI tool via Composer
composer global require laravel/installer
Install Laravel
Use the Laravel installer to install laravel project.
cd c:\laragon\www\
laravel new laravel12
Start install
Create a database
Create a mysql database laravel12 with Phpmyadmin.
Change database mysql parameters in c:\laragon\www\laravel12\.env file.
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=laravel12
DB_USERNAME=root
DB_PASSWORD=password
Migrate the database
cd laravel12
php artisan migrate
Open with https://laravel12.test
Create
php artisan make:model Task -m
We add columns according to our choice
Schema::create('tasks', function (Blueprint $table) {
$table->id();
$table->timestamps();
$table->string('title');
$table->text('detail');
$table->boolean('state')->default(false);
});
We do migration
php artisan migrate
We create composant to create a Task
php artisan make:livewire TaskCreate
We modifiy
php artisan make:livewire TaskCreate