PHPackages                             stevedobe/laravel-svelte - 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. stevedobe/laravel-svelte

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

stevedobe/laravel-svelte
========================

Replace Vue with Svelte in a fresh Laravel Breeze or Laravel Jetstream installation.

1.8.1(1y ago)91751MITSvelte

Since Aug 1Pushed 1y ago1 watchersCompare

[ Source](https://github.com/stevedobe/laravel-svelte)[ Packagist](https://packagist.org/packages/stevedobe/laravel-svelte)[ Docs](https://github.com/stevedobe/laravel-svelte)[ RSS](/packages/stevedobe-laravel-svelte/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (10)Dependencies (5)Versions (16)Used By (0)

Laravel Svelte
==============

[](#laravel-svelte)

[![Latest Version on Packagist](https://camo.githubusercontent.com/397637f5c5289c48ad968c804a980577872d9c3aed88fa9fdd3bcf67c8f7b722/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7374657665646f62652f6c61726176656c2d7376656c74652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/stevedobe/laravel-svelte)[![Total Downloads](https://camo.githubusercontent.com/00535677dee8cd3202bc6e7de0d99ce5113053700fa27bad70441de897c1d36f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7374657665646f62652f6c61726176656c2d7376656c74652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/stevedobe/laravel-svelte)

This package replaces Vue with [Svelte](https://svelte.dev/) and [Typescript](https://www.typescriptlang.org/) support in a fresh Laravel Breeze or Laravel Jetstream installation and optionally adds [Eslint](https://eslint.org/), [Prettier](https://prettier.io/), and [Cypress](https://www.cypress.io/) or [Playwright](https://playwright.dev/).

I only intended Laravel Svelte for fresh Laravel Breeze or Laravel Jetstream installations with Inertia and Vue. Because of this, I will continue implementing changes made to Breeze and Jetstream into this package to remain in sync with Laravel installations.

This package will respect and keep in place any of the options provided to or excluded from your installation, such as dark mode, Pest, SSR and Teams support.

However, two opinionated changes occur to your Laravel installation:

- It installs TypeScript. You may choose to remove it, but please consider the value it provides.
- It removes [Ziggy](https://github.com/tighten/ziggy). You may reinstall it if you like.

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

[](#installation)

First, install a fresh copy of [Laravel Breeze](https://laravel.com/docs/11.x/starter-kits) or [Laravel Jetstream](https://jetstream.laravel.com/installation.html) with Inertia and Vue.

Then, install Laravel Svelte via Composer

```
composer require stevedobe/laravel-svelte
```

Usage
-----

[](#usage)

If you wish to know exactly what this package changes to a Laravel installation, create a Git repository for your project now with an initial commit.

### Optional Step

[](#optional-step)

You may publish Laravel Svelte's configuration file to config/laravel-svelte.php and modify it as needed. I can only think of two reasons why you may want to do this:

- Your Laravel installation is not running Breeze 2.3 or Jetstream 5.3.

    - Laravel Svelte is bound to, and may only work for, specific versions of Breeze and Jetstream. It currently supports the abovementioned versions. If you are running a different version of Breeze or Jetstream, you need to change the **compatibleWith** settings in Laravel Svelte's configuration file. If your version of Breeze or Jetstream does not match the corresponding **compatibleWith** version, the package will throw an exception.
- You want to control the versions of the installed Node packages. These are listed in the configuration file.

```
php artisan vendor:publish --provider="SteveDobe\LaravelSvelte\LaravelSvelteServiceProvider"
```

### Execute

[](#execute)

To swap out Vue with Svelte, run the following command. You will be prompted to optionally install Eslint, Prettier and Cypress or Playwright.

```
php artisan stevedobe:swap-vue-with-svelte
```

Notes
-----

[](#notes)

- Helpers have been added to package.json to aid in formatting, checking and testing your application. Feel free to modify or remove any of these.
- If you have based your project on Laravel Jetstream and you have installed Cypress, ensure you keep the features in cypress.config.js in sync with config/fortify.php and config/jetstream.php.
- If you have based your project on Laravel Jetstream and you have installed Playwright, ensure you keep the features in tests/Playwright/e2e/helpers.ts in sync with config/fortify.php and config/jetstream.php.
- If you have installed Cypress, you may need to change the port number of the baseUrl in cypress.config.js. Watch for what port ***php artisan serve*** has provided.
- If you have installed Playwright, you may need to run 'npx playwright install'.
- If you have installed Playwright, you may need to change the port number of the baseUrl in playwright.config.ts. Watch for what port ***php artisan serve*** has provided.

Change log
----------

[](#change-log)

Please see the [changelog](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [contributing.md](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security-related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Steve Dobe](https://github.com/stevedobe)
- [All Contributors](../../contributors)

License
-------

[](#license)

MIT. Please see the [license file](LICENSE.md) for more information.

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance49

Moderate activity, may be stable

Popularity17

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

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 ~23 days

Recently: every ~33 days

Total

15

Last Release

378d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/25497058?v=4)[Steve Dobe](/maintainers/stevedobe)[@stevedobe](https://github.com/stevedobe)

---

Top Contributors

[![stevedobe](https://avatars.githubusercontent.com/u/25497058?v=4)](https://github.com/stevedobe "stevedobe (30 commits)")

---

Tags

laraveljetstreambreezesvelte

###  Code Quality

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/stevedobe-laravel-svelte/health.svg)

```
[![Health](https://phpackages.com/badges/stevedobe-laravel-svelte/health.svg)](https://phpackages.com/packages/stevedobe-laravel-svelte)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[illuminate/session

The Illuminate Session package.

9939.3M850](/packages/illuminate-session)[renatomarinho/laravel-page-speed

Laravel Page Speed

2.5k1.7M10](/packages/renatomarinho-laravel-page-speed)[vinkius-labs/laravel-page-speed

Laravel Page Speed

2.5k12.5k1](/packages/vinkius-labs-laravel-page-speed)[emargareten/inertia-modal

Inertia Modal is a Laravel package that lets you implement backend-driven modal dialogs for Inertia apps.

90142.9k](/packages/emargareten-inertia-modal)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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