PHPackages                             rajentrivedi/laravel-spa - 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. rajentrivedi/laravel-spa

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

rajentrivedi/laravel-spa
========================

Convert Normal Laravel App in to SPA

4147[1 issues](https://github.com/rajentrivedi/laravel-spa/issues)PHP

Since Apr 12Pushed 4y ago2 watchersCompare

[ Source](https://github.com/rajentrivedi/laravel-spa)[ Packagist](https://packagist.org/packages/rajentrivedi/laravel-spa)[ RSS](/packages/rajentrivedi-laravel-spa/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

laravel-spa
===========

[](#laravel-spa)

Convert Normal Laravel App in to SPA

Installation

```
composer require rajentrivedi/laravel-spa
```

You need to use following blade directive in to head section of your master blade file, where you load all your assests.

```
@spa

```

Example

```

   @spa

```

Blade directives to write javascript code.

```
@spascript
  $('#your_id').click(function(){
    console.log('working');
  })
@endspascript

```

If you want to disable spa for perticular link.

```
@disablespa

```

Example

```
Excel

```

This package will increase the page load speed, as this package is using [Tubolinks](https://github.com/turbolinks/turbolinks#canceling-visits-before-they-start).

That's all, you need not to do anything else.

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity27

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/9519df9e8edfdd9469fe1a8bbab465bec2f9fe71bf9f6088f9ee906fc6c07715?d=identicon)[rajentrivedi](/maintainers/rajentrivedi)

---

Top Contributors

[![rajentrivedi](https://avatars.githubusercontent.com/u/69707769?v=4)](https://github.com/rajentrivedi "rajentrivedi (14 commits)")

### Embed Badge

![Health badge](/badges/rajentrivedi-laravel-spa/health.svg)

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

###  Alternatives

[atakde/discord-webhook-php

discord webhook php

186.8k](/packages/atakde-discord-webhook-php)

PHPackages © 2026

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