DEV Community

Discussion on: Pug in 5 minutes

Collapse
 
marcusatlocalhost profile image
Marcus

It was weird that the php port comes with the full node package - in case node is available (if I remember right) and it's weird because the handling of variables was not 100% consistent. Sometimes you had to write $var['key'] - but maybe these problems are solved now, haven't installed it for quite some time.

But else, it rocks.

Thread Thread
 
jsn1nj4 profile image
Elliot Derhay • Edited

Oh so it still requires Node to run and provides a $var array for variables? That is weird. 😕

Thread Thread
 
marcusatlocalhost profile image
Marcus

No no, it doesn't require Node at all! The information I gave was probably old or misleading.
I know their goal was to make it 100% compatible with the Node version, so I'm sure everything in the Node version, works in the php version.
github.com/pug-php/pug