DEV Community

Raakkan
Raakkan

Posted on

Help Needed with Tailwind CSS Parser in PHP

Hello everyone,

I am currently developing a Tailwind CSS parser in PHP for one of my projects, which aims to parse Tailwind CSS classes at runtime. I’ve started working on it and created a repository here: GitHub - PHP Tailwind Parser.

I’ve implemented many of the documented CSS classes, but I believe there are still quite a few missing, such as transform-gpu and others. I need help in identifying and collecting all Tailwind CSS classes, along with their corresponding definitions. For example:

'absolute' => '.absolute {
  position: absolute;
}'
Enter fullscreen mode Exit fullscreen mode

The goal is to ensure that no classes are missing. Once all classes are accounted for, I plan to release this package on Composer in MIT License and provide proper documentation.

Additionally, if any PHP developers are interested, I would greatly appreciate assistance in cleaning up the code and finalizing the package to make it complete and robust.

Thank you in advance for your help!

Best regards,

[Raakkan]

Top comments (0)