php - How do I install and get HAML working with Yii? -


there many php haml projects , yii. generic ones have no idea how install yii framework , make yii aware of them. ones yii old yii , not yii2 make reference protected/extensions doesn't exist. tried install 1 https://github.com/delfit/yii-haml composer gave error the requested package delfit/phamlp not found in version, there may typo in package name. sass , coffeescript bonus smile

the error mentioned related minimum-stability setting because extension doesn't have stable releases yet. seems it's not supported anymore.

but yii 1 extensions not compatible yii 2, because difference between them pretty big, doesn't matter.

you can rewrite newer version, found similar extension yii2.

it's called yii2-mthaml , based on mthaml extension. try this, seems it's 1 yii2 haml extension @ moment.


Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

gradle error "Cannot convert the provided notation to a File or URI" -

python - NameError: name 'subprocess' is not defined -