js-phpize/js-phpize-phug
JS-PHPize for Phug brings JavaScript-style expressions into Pug templates compiled to PHP. Write familiar JS syntax in your server-side views while Phug renders them as PHP, making template logic more expressive and easier to reuse.
js-phpize-phug brings JavaScript expression support to the Phug template engine, letting you write familiar JS-style syntax directly in your Pug/Jade templates. Powered by js-phpize, it transparently converts those expressions into PHP at compile time, so you get the expressiveness of JavaScript with the performance of native PHP.
How can I help you explore Laravel packages today?