TailwindPHP - use Tailwind CSS in your PHP projects (without npm)
Tailwind PHP allows you to compile TailwindCSS on the fly directly with PHP without dependencies (without npm or postcss).
IMPORTANT : Alpha version required linux x64.
PHP 8.0+ and Composer are required.
composer req devgenii/tailwindphp
Add execution rights
chmod +x ./vendor/devgenii/tailwindphp/bin/*
1- create a tailwind.config.js
config file
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./templates/**/*.twig"],
theme: {
extend: {},
},
plugins: [],
}
TailwindPHP is licensed under The MIT License (MIT).