Hello everyone 
Today I was using prefixr, and noticed there isn’t a php API , so I decided to make one.
I am releasing this free of charge, because it’s fairly basic, and was put together quickly.
I didn’t find a way to put each css value on a new line.
How to use
Include the class file, and set it up as a new object.
Use $prefixr->get(“CSS CODE ”);
Download!
Download: http://www.mediafire.com/?snhdl14odeiymi8Anybody want this? 
- Bought between 10 and 49 items
- Contributed a Blog Post
- Contributed a Tutorial to a Tuts+ Site
- Exclusive Author
- Has been a member for 4-5 years
- Item was Featured
- Microlancer Beta Tester
- Referred between 100 and 199 users
- Sold between 10 000 and 50 000 dollars
You’d better use GitHub for such code.
Cool! Perhaps you could make a Wordpress plugin that “prefixes” and compresses your stylesheets. A free plugin of course 
EDIT :
Just checked out the code and it looks like you forgot to urlencode the css in the url. Might wanna fix that 
RikdeVos said
Cool! Perhaps you could make a Wordpress plugin that “prefixes” and compresses your stylesheets. A free plugin of course![]()
EDIT :
Just checked out the code and it looks like you forgot to urlencode the css in the url. Might wanna fix that![]()
Good point, this was just a quickie script, I’ll take a look.
Thanks for the feedback.
