Skip to content

TailwindPHP - use Tailwind CSS in your PHP projects (without npm)

License

Notifications You must be signed in to change notification settings

DevGenii/tailwindphp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tailwind Php

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).

Installing

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/*

Configuration

1- create a tailwind.config.js config file

/** @type {import('tailwindcss').Config} */
module.exports = {
  content: ["./templates/**/*.twig"],
  theme: {
    extend: {},
  },
  plugins: [],
}

Credits

  • Arnaud Lemercier is based on Wixiweb.
  • Marko Martinović is based on DevGenii.

License

TailwindPHP is licensed under The MIT License (MIT).

About

TailwindPHP - use Tailwind CSS in your PHP projects (without npm)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 75.4%
  • Makefile 24.6%