Download the PHP package paneon/php-vue-to-twig without Composer
On this page you can find all versions of the php package paneon/php-vue-to-twig. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package php-vue-to-twig
php-vue-to-twig
Compile vue files to twig templates with PHP
Directives
| Directive | Implemented |
|---|---|
| v-text | :white_check_mark: |
| v-html | :white_check_mark: |
| v-show | :white_check_mark: |
| v-if | :white_check_mark: |
| v-else | :white_check_mark: |
| v-else-if | :white_check_mark: |
| v-for | :white_check_mark: |
| v-on | :white_check_mark: |
| v-bind | partially working |
| v-bind:style | :white_check_mark: |
| v-bind:class | :white_check_mark: |
| v-model | partially working |
| v-pre | :white_check_mark: |
| v-cloak | :white_check_mark: |
| v-once | :white_check_mark: |
Other Functionalities
| Functionality | Implemented |
|---|---|
| Slots | partially working |
| Components | :white_check_mark: |
| Filters |
Limitations
It's difficult to interpret JavaScript language features and translate them into twig.
For example, string concatenation within attribute binding is not currently working properly: :no_entry_sign:
This example works:
But this example doesn't work correct:
All versions of php-vue-to-twig with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.3|^8.0
ext-dom Version *
ext-libxml Version *
scssphp/scssphp Version ^1.9
squizlabs/php_codesniffer Version ^3.3
ramsey/uuid Version ^3.8
ext-dom Version *
ext-libxml Version *
scssphp/scssphp Version ^1.9
squizlabs/php_codesniffer Version ^3.3
ramsey/uuid Version ^3.8
The package paneon/php-vue-to-twig contains the following files
Loading the files please wait ...