Start your next
client project
on a working base.
A reusable Laravel starter kit with authentication, roles, and a blog ready to publish, so every new project starts from a working foundation, not a blank repo.
- Composer packages
- 14
- Roles built in
- 3
- Pest tests
- 149
Route::middleware(['auth', 'verified'])->group(function () {
Route::livewire('dashboard', 'pages::app.dashboard')->name('dashboard');
Route::middleware(['role:super-admin|admin'])->prefix('system')->group(function () {
// Users, Sitemap, Settings, Media Library
});
});- Laravel
- Livewire
- Flux UI
- Tailwind
- Pest
- Spatie
Real code, not marketing copy
Every claim on this page ships in the repo
Route::middleware(['auth', 'verified'])->group(function () {
Route::livewire('dashboard', 'pages::app.dashboard')->name('dashboard');
Route::middleware(['role:super-admin|admin'])->prefix('system')->group(function () {
// Users, Sitemap, Settings, Media Library
});
});protected static function booted(): void
{
static::created(
fn (User $user) => $user->assignRole(Role::findOrCreate('staff'))
);
}public function registerMediaCollections(): void
{
$this->addMediaCollection('featured_image')
->singleFile()
->acceptsMimeTypes(['image/jpeg', 'image/png', 'image/webp']);
}
public function getSlugOptions(): SlugOptions
{
return SlugOptions::create()
->generateSlugsFrom('title')
->saveSlugsTo('slug')
->doNotGenerateSlugsOnUpdate();
}test('admin can view the users list', function () {
$admin = User::factory()->create();
$admin->syncRoles(Role::findOrCreate('admin'));
$other = User::factory()->create(['name' => 'Jane Doe']);
$this->actingAs($admin)
->get(route('system.users'))
->assertOk()
->assertSee('Jane Doe');
});Everything this repo actually ships
Authentication
Login, registration, password reset, and email verification, built on Laravel Fortify.
Roles & permissions
3 roles (super-admin, admin, staff) via Spatie Permission. New roles are created with tinker or a seeder: no admin UI, by design.
Blog CMS
Title, excerpt, body, featured image, and a publish toggle, with stable slugs via Spatie Sluggable.
Media Library
Browse and delete every uploaded file across every model from one System panel page.
Per-role dashboards
Each role (super-admin, admin, staff) gets its own Livewire dashboard with Chart.js charts.
System panel
Users, Sitemap, Settings, and Media Library, gated to admin and super-admin.
Activity log
Every admin action is audited via Spatie Activitylog, visible to super-admins.
Tests from day one
149 Pest tests, Pint formatting, and Larastan static analysis, wired into CI.
Automated releases
release-please publishes a GitHub Release with a real changelog from Conventional Commits.
Launch checklist built in
Privacy and terms pages, cookie consent for analytics, meta tags with a sitemap and robots.txt, honeypot spam protection, security headers, and HTTPS enforcement in production.
Why this stack
Why Livewire
Server-driven UI: no separate API layer or SPA build to maintain alongside the backend.
Why Spatie packages
Battle-tested roles, media, slugs, activity logging, and sitemaps: nothing reinvented.
Why Pest
Readable test syntax, and a real safety net: 149 tests covering every role boundary in this repo.
- Composer packages
- 14
- Roles built in
- 3
- Pest tests
- 149
- Licensed
- MIT
Let's build
Ready to start
your next project?
Clone the starter kit, log in as admin, and make it yours.