Uvalab
WooCommerce store built as a Laravel app inside WordPress: a Sage 11 and Acorn theme, screens in Livewire 4 and Flux UI, and a development environment provisioned with Terraform and Docker.
- Year
- 2026
- Type
- Personal project · WooCommerce theme
- Status
- Completed
- commits
- 132
- Livewire components
- 17
- Pest test files
- 16
01 · Problem
WooCommerce themes often mix logic, templates and loose hooks, which makes the store hard to test, evolve and maintain. The goal was to keep WordPress's freedom for content, with the structure and tooling of a Laravel application.
02 · Solution
The theme runs on Acorn, which brings Laravel into WordPress: service providers, controllers, middleware, migrations and seeders. The store, sign-in and customer area screens are Livewire components with Flux UI, and the admin panel is custom too. The layout follows a design made in Figma, with Full Site Editing and Tailwind 4. For development, terraform-bedrock uses Terraform to bring up a Docker environment with Nginx, PHP-FPM, MySQL and Node for Bedrock.
03 · Features
Store
- Product filters, a Livewire product list, the shop menu, a slider and quote requests
Customer account
- Sign-in and sign-up, dashboard, orders, order details, downloads, address and account details, behind a customer middleware
Admin panel
- Theme options, home sliders, Acorn cache, seeder and system status
WordPress organised like Laravel
- Post types, shortcodes and admin cleanup in service providers, and Livewire components also available as shortcodes
Quality
- PHPStan, Pest and Husky hooks with lint-staged on commit and tests on push
Environment and publishing
- Bedrock in Docker through Terraform for development, and WordOps with Cloudflare Tunnel to publish
04 · Stack
- PHP
- WordPress / WooCommerce
- Sage 11
- Acorn 5 (Laravel)
- Livewire 4
- Flux UI
- Tailwind CSS 4
- Vite
- Pest
- PHPStan
- Terraform
- Docker
05 · Architecture decisions
The decisions that shaped the project.- —
Laravel inside WordPress
Acorn makes providers, Eloquent, migrations and tests available without giving up the WooCommerce ecosystem.
- —
Livewire instead of scattered JavaScript
The store and customer area interactions live in PHP, as testable components.
- —
Environment as code
terraform-bedrock rebuilds the whole environment from scratch, the same way on any machine.