PHPackages                             bigfork/silverstripe-vitesse - 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. bigfork/silverstripe-vitesse

ActiveSilverstripe-vendormodule[Utility &amp; Helpers](/categories/utility)

bigfork/silverstripe-vitesse
============================

Silverstripe and Vite, built on Laravel’s Vite support

2.0.0(10mo ago)16981BSD-3-ClausePHP

Since Jun 18Pushed 10mo agoCompare

[ Source](https://github.com/bigfork/silverstripe-vitesse)[ Packagist](https://packagist.org/packages/bigfork/silverstripe-vitesse)[ RSS](/packages/bigfork-silverstripe-vitesse/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (3)Versions (5)Used By (1)

Silverstripe Vitesse
====================

[](#silverstripe-vitesse)

Support for Vite in Silverstripe, built atop [Laravel’s Vite components](https://laravel.com/docs/12.x/vite).

Setup
-----

[](#setup)

```
composer require bigfork/silverstripe-vitesse
```

Setup the `laravel-vite-plugin` in your `vite.config.js`:

```
import {defineConfig} from 'vite';
import laravel from 'laravel-vite-plugin';

export default defineConfig({
  plugins: [
    laravel({
      input: [
        'src/scss/style.scss',
        'src/scss/editor.scss',
        'src/js/app.js',
      ],
      refresh: [
        'templates/**/*.ss',
      ],
    }),
  ],
  // ... etc
})
```

[Full configuration example](https://github.com/bigfork/silverstripe-recipe/blob/9568ff5b3d121e3f2a0a069e6be9f9a553d1128e/themes/default/vite.config.js) and matching [YAML configuration](https://github.com/bigfork/silverstripe-recipe/blob/9568ff5b3d121e3f2a0a069e6be9f9a553d1128e/app/_config/vite.yml).

Usage
-----

[](#usage)

Most of the [Laravel Vite documentation](https://laravel.com/docs/12.x/vite) applies, though with an adjusted syntax for Silverstripe templates vs Blade.

Include scripts/stylesheets using the `` tag, for example:

```

    {$MetaTags}

```

For React projects, you can also include ``. Note that this must be included before any calls to ``

Paths for assets processed via Vite can be output using `$viteAsset`:

```

```

File contents for assets processed via Vite can be output using `$viteContent`:

```

    {$viteContent('src/images/image.svg')}

```

Configuration
-------------

[](#configuration)

If you’re using different build directories, or want to take advantage of [other features](https://laravel.com/docs/12.x/vite), you can adjust configuration via YAML or directly in PHP:

YAML config:

```
SilverStripe\Core\Injector\Injector:
  Bigfork\Vitesse\Vite:
    calls:
      buildDirectory: [ 'useBuildDirectory', ['dist'] ]
```

PHP method calls:

```
use Bigfork\Vitesse\Vite;
use SilverStripe\CMS\Controllers\ContentController;

class PageController extends ContentController
{
    protected function init()
    {
        parent::init();
        Vite::inst()->useScriptTagAttributes(['data-foo' => 'bar']);
    }
}
```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance54

Moderate activity, may be stable

Popularity19

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Total

4

Last Release

318d ago

Major Versions

0.0.1 → 1.0.02025-06-19

1.x-dev → 2.0.02025-08-20

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/203294386?v=4)[-&gt; lozcalver](/maintainers/kinglozzer)[@kinglozzer](https://github.com/kinglozzer)

---

Top Contributors

[![lozcalver](https://avatars.githubusercontent.com/u/1655548?v=4)](https://github.com/lozcalver "lozcalver (6 commits)")

---

Tags

laravelsilverstripevitelaravel-vite

### Embed Badge

![Health badge](/badges/bigfork-silverstripe-vitesse/health.svg)

```
[![Health](https://phpackages.com/badges/bigfork-silverstripe-vitesse/health.svg)](https://phpackages.com/packages/bigfork-silverstripe-vitesse)
```

###  Alternatives

[silverstripe/userforms

UserForms enables CMS users to create dynamic forms via a drag and drop interface and without getting involved in any PHP code

1371.1M85](/packages/silverstripe-userforms)[firefly-iii/data-importer

Firefly III Data Import Tool.

8035.8k](/packages/firefly-iii-data-importer)[markwalet/nova-modal-response

A Laravel Nova asset for Modal responses on an action.

17878.9k](/packages/markwalet-nova-modal-response)[symbiote/silverstripe-advancedworkflow

Adds configurable workflow support to the CMS, with a GUI for creating custom workflow definitions.

46302.4k9](/packages/symbiote-silverstripe-advancedworkflow)[ronasit/laravel-helpers

Provided helpers function and some helper class.

2085.6k31](/packages/ronasit-laravel-helpers)[team-nifty-gmbh/tall-datatables

Server-side rendered datatables for Laravel and Livewire

1320.9k4](/packages/team-nifty-gmbh-tall-datatables)

PHPackages © 2026

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