Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Free and open-source starter kit for Symfony (PHP), Tailwind CSS and Flowbite

A full-stack Next.js TypeScript template focused on functionality over UI, featuring Zustand, TanStack Query, and ESLint 9 support.
Tailwind Symfony Starter is a free, open-source boilerplate that pairs the Symfony PHP framework with Tailwind CSS and Flowbite so you can build interface-heavy websites without setting up the front-end toolchain yourself.
The Tailwind Symfony Starter is a boilerplate project that combines Symfony (PHP) with Tailwind CSS and Flowbite UI components. It takes a fresh Symfony installation and adds Tailwind CSS via PostCSS and the Flowbite library, producing a working web app with preconfigured asset handling through Webpack Encore. The starter is published by the Flowbite team and documented in their official Symfony getting-started guide.
The core output is a Symfony application whose app.js imports Flowbite for interactive components and whose app.css loads Tailwind and Flowbite theme variables. You can access the result at http://localhost:8000 after running the local Symfony server. The setup requires PHP 8.1 or higher, Composer, and Node.js.
symfony new --webapp flowbite-app, giving you a fresh Symfony web application skeleton.symfony/webpack-encore-bundle for compiling CSS and JavaScript assets.tailwindcss, @tailwindcss/postcss, and PostCSS, configured with a postcss.config.mjs file and the @import "tailwindcss" directive in app.css.flowbite via NPM, imports the default theme and plugin in CSS, and enables interactive components like dropdowns, navbars, and modals through an import 'flowbite' in app.js.npm run watch to compile front-end assets continuously during development.symfony new to a styled application.The setup flow is documented in four stages: first, create a Symfony project with the Symfony CLI and install webpack-encore-bundle; second, install Tailwind CSS and PostCSS via NPM and enable the PostCSS loader in webpack.config.js; third, install Flowbite and import its theme, plugin, and source paths in app.css; finally, import flowbite in app.js and run npm run watch. The result is a Symfony app with fully compiled Tailwind styling and Flowbite interactivity.
You need PHP version 8.1 or higher, Composer for PHP dependency management, and Node.js for NPM packages. Both the Symfony CLI and the front-end build tools rely on these being available on macOS, Linux, or Windows.
Yes. Flowbite is installed as an NPM dependency and its default theme, plugin, and source directory are imported into app.css. Interactive components become available after you import flowbite in app.js, which the starter instructs you to do.
On macOS and Linux, use Homebrew with brew install symfony-cli/tap/symfony-cli. On Windows, use Scoop with scoop install symfony-cli. Alternatively, you can download the CLI from the official Symfony website.
Yes. The guide provides Scoop as a package manager for installing the Symfony CLI on Windows. The remaining NPM and Composer commands are cross-platform.
The starter uses Tailwind CSS (installed with @tailwindcss/postcss), PostCSS with the PostCSS loader, and Webpack Encore to compile assets. Flowbite is loaded as a separate NPM package on top of these.
