PHPackages                             pentatrion/vite-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. pentatrion/vite-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

pentatrion/vite-bundle
======================

Vite integration for your Symfony app

v8.2.4(1mo ago)2755.3M↓12.2%2710MITPHPPHP ^8.0

Since Apr 11Pushed 1mo ago12 watchersCompare

[ Source](https://github.com/lhapaipai/vite-bundle)[ Packagist](https://packagist.org/packages/pentatrion/vite-bundle)[ RSS](/packages/pentatrion-vite-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (26)Versions (90)Used By (10)

 [![Symfony logo](https://raw.githubusercontent.com/lhapaipai/vite-bundle/main/docs/symfony-vite.svg)](https://raw.githubusercontent.com/lhapaipai/vite-bundle/main/docs/symfony-vite.svg)

 [![](https://camo.githubusercontent.com/96aafbd2880e88d885e42e3ec553000141fbfdd29930dbe64ce8d125ebc85ae1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f70656e74617472696f6e2f766974652d62756e646c653f7374796c653d666c61742d737175617265266c6f676f3d7061636b6167697374)](https://camo.githubusercontent.com/96aafbd2880e88d885e42e3ec553000141fbfdd29930dbe64ce8d125ebc85ae1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f70656e74617472696f6e2f766974652d62756e646c653f7374796c653d666c61742d737175617265266c6f676f3d7061636b6167697374) [![](https://camo.githubusercontent.com/8412cea1f9474151359a585116bf778a4a55e3569ff80f100a2191dcb0ab56ba/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6c68617061697061692f73796d666f6e792d766974652d6465762f766974652d62756e646c652d63692e796d6c3f7374796c653d666c61742d737175617265266c6162656c3d766974652d62756e646c652532304349266c6f676f3d676974687562)](https://camo.githubusercontent.com/8412cea1f9474151359a585116bf778a4a55e3569ff80f100a2191dcb0ab56ba/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6c68617061697061692f73796d666f6e792d766974652d6465762f766974652d62756e646c652d63692e796d6c3f7374796c653d666c61742d737175617265266c6162656c3d766974652d62756e646c652532304349266c6f676f3d676974687562)

ViteBundle : Symfony integration with Vite
==========================================

[](#vitebundle--symfony-integration-with-vite)

Important

This repository is a "subtree split": a read-only subset of that main repository [symfony-vite-dev](https://github.com/lhapaipai/symfony-vite-dev) which delivers to packagist only the necessary code.

Important

If you want to open issues, contribute, make PRs or consult examples you will have to go to the [symfony-vite-dev](https://github.com/lhapaipai/symfony-vite-dev) repository.

This bundle helps you render all the dynamic `script` and `link` tags needed. Essentially, it provides two twig functions to load the correct scripts into your templates.

Installation
------------

[](#installation)

Install the bundle with:

```
composer require pentatrion/vite-bundle
```

```
npm install

# start your vite dev server
npm run dev
```

Add these twig functions in any template or base layout where you need to include a JavaScript entry:

```
{% block stylesheets %}
    {{ vite_entry_link_tags('app') }}
{% endblock %}

{% block javascripts %}
    {{ vite_entry_script_tags('app') }}

    {# if you are using React, you have to replace with this #}
    {{ vite_entry_script_tags('app', { dependency: 'react' }) }}
{% endblock %}
```

[Read the Docs to Learn More](https://symfony-vite.pentatrion.com).

Ecosystem
---------

[](#ecosystem)

PackageDescription[vite-plugin-symfony](https://github.com/lhapaipai/vite-plugin-symfony)Vite plugin (read-only)[symfony-vite-dev](https://github.com/lhapaipai/symfony-vite-dev)Package for contributorsLicense
-------

[](#license)

[MIT](LICENSE).

###  Health Score

69

—

FairBetter than 100% of packages

Maintenance89

Actively maintained with recent releases

Popularity64

Solid adoption and visibility

Community35

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 76% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~20 days

Recently: every ~67 days

Total

89

Last Release

58d ago

Major Versions

v3.3.1 → v4.0.02023-07-11

v4.3.0 → v5.0.02023-10-22

v5.0.1 → v6.0.02023-11-06

v6.5.3 → v7.0.02024-08-22

v7.1.0 → v8.0.02025-02-10

PHP version history (4 changes)v0.1.0PHP ^7.2.5

v0.1.3PHP ^7.2.5 || ^8.0

v2.1.0PHP ^7.4 || ^8.0

v6.3.5PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/e083e623e5da61180cf08a41a09aa759b552e23f64d7c78f165ee26e18e5ba18?d=identicon)[lhapaipai](/maintainers/lhapaipai)

---

Top Contributors

[![lhapaipai](https://avatars.githubusercontent.com/u/1088155?v=4)](https://github.com/lhapaipai "lhapaipai (218 commits)")[![andyexeter](https://avatars.githubusercontent.com/u/6660584?v=4)](https://github.com/andyexeter "andyexeter (52 commits)")[![aszenz](https://avatars.githubusercontent.com/u/25319264?v=4)](https://github.com/aszenz "aszenz (2 commits)")[![skmedix](https://avatars.githubusercontent.com/u/3246162?v=4)](https://github.com/skmedix "skmedix (2 commits)")[![thor-juhasz](https://avatars.githubusercontent.com/u/43342865?v=4)](https://github.com/thor-juhasz "thor-juhasz (2 commits)")[![bitbirddev](https://avatars.githubusercontent.com/u/15128942?v=4)](https://github.com/bitbirddev "bitbirddev (2 commits)")[![maamri95](https://avatars.githubusercontent.com/u/30296078?v=4)](https://github.com/maamri95 "maamri95 (1 commits)")[![Magiczne](https://avatars.githubusercontent.com/u/8850255?v=4)](https://github.com/Magiczne "Magiczne (1 commits)")[![micheh](https://avatars.githubusercontent.com/u/1307920?v=4)](https://github.com/micheh "micheh (1 commits)")[![plfort](https://avatars.githubusercontent.com/u/1080255?v=4)](https://github.com/plfort "plfort (1 commits)")[![atomicptr](https://avatars.githubusercontent.com/u/674705?v=4)](https://github.com/atomicptr "atomicptr (1 commits)")[![ttskch](https://avatars.githubusercontent.com/u/4360663?v=4)](https://github.com/ttskch "ttskch (1 commits)")[![Blackskyliner](https://avatars.githubusercontent.com/u/1038517?v=4)](https://github.com/Blackskyliner "Blackskyliner (1 commits)")[![dchubar-fj](https://avatars.githubusercontent.com/u/58946680?v=4)](https://github.com/dchubar-fj "dchubar-fj (1 commits)")[![JustDylan23](https://avatars.githubusercontent.com/u/27694850?v=4)](https://github.com/JustDylan23 "JustDylan23 (1 commits)")

---

Tags

bundlephpsymfonysymfony-bundlevitejssymfonybundlevitevitejs

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/pentatrion-vite-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/pentatrion-vite-bundle/health.svg)](https://phpackages.com/packages/pentatrion-vite-bundle)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[netgen/layouts-core

Netgen Layouts enables you to build and manage complex web pages in a simpler way and with less coding. This is the core of Netgen Layouts, its heart and soul.

3689.4k10](/packages/netgen-layouts-core)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
