PHPackages                             efficiently/turbolinks - 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. efficiently/turbolinks

Abandoned → [frenzy/turbolinks](/?search=frenzy%2Fturbolinks)Library

efficiently/turbolinks
======================

Turbolinks makes following links in your web application faster with Laravel 4.1+

1.0.x-dev(11y ago)11671MITPHPPHP &gt;=5.4.0

Since Mar 30Pushed 8y ago2 watchersCompare

[ Source](https://github.com/efficiently/turbolinks)[ Packagist](https://packagist.org/packages/efficiently/turbolinks)[ RSS](/packages/efficiently-turbolinks/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (3)Versions (7)Used By (0)

DEPRECATED
==========

[](#deprecated)

In favor of the **original repository [Frenzy Turbolinks](https://github.com/frenzyapp/turbolinks/blob/1.0-dev/README_LARASSET.md)**, who merged my changes 👍

Turbolinks for Laravel 4.1+
===========================

[](#turbolinks-for-laravel-41)

Turbolinks is a port of the Rails [turbolinks](https://github.com/rails/turbolinks)and the [jquery.turbolinks](https://github.com/kossnocorp/jquery.turbolinks) gems for projects using the PHP [Laravel](http://laravel.com) 4.1+ framework.

Versions
--------

[](#versions)

Current versions of the following JavaScript libraries are used:

- turbolinks: v2.4.0
- jquery.turbolinks: v2.1.0

For [**Laravel 5.0**](http://laravel.com/docs/5.0) supports see [Turbolinks 1.0 branch](https://github.com/efficiently/turbolinks/tree/1.0)

Performance
-----------

[](#performance)

Turbolinks makes following links in your web application faster. Instead of letting the browser recompile the JavaScript and CSS between each page change, it keeps the current page instance alive and replaces only the body and the title in the head.

Performance improvements will vary depending on the amount of CSS and Javascript you are using. You can get up to a 2X increase when using a lot of Javascript and CSS. You can find the Rails benchmarks [here](https://stevelabnik/turbolinks_test).

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

[](#installation)

### Using [Composer](https://getcomposer.org)

[](#using-composer)

Add the following in your `composer.json`:

```
{
    "require": {
        // ...
        "efficiently/turbolinks": "dev-master"
    }
}
```

Run this command in a terminal:

```
composer update efficiently/turbolinks
```

Add `'Efficiently\Turbolinks\TurbolinksServiceProvider', ` to the `providers` array in `app/config/app.php`**after** [Larasset](https://github.com/efficiently/larasset) one (if you have installed this package).

### With the [Larasset](https://github.com/efficiently/larasset) package

[](#with-the-larasset-package)

If you have installed the [Larasset](https://github.com/efficiently/larasset) package:

The `turbolinks.js` and `jquery.turbolinks.js` files will be added to the asset pipeline and available for you to use.

Add these lines in your `app/assets/javascripts/application.js` file, in this order:

```
//= require jquery
//= require jquery.turbolinks
//= require jquery_ujs
//
// ... your other scripts here ...
//
//= require turbolinks
```

Then if the ``section of your main layout.

```
>

        {{ stylesheet_link_tag('application', ['data-turbolinks-track' => true]) }}
        {{ javascript_include_tag('application', ['data-turbolinks-track' => true]) }}

```

### Without the Larasset package (legacy method)

[](#without-the-larasset-package-legacy-method)

Click [here](README_LEGACY.md) to publish the assets manually.

Compatibility
-------------

[](#compatibility)

The turbolinks javascript is designed to work with any browser that fully supports pushState and all the related APIs. This includes Safari 6.0+ (but not Safari 5.1.x!), IE10+, and latest Chrome and Firefox.

Do note that existing JavaScript libraries may not all be compatible with Turbolinks out of the box due to the change in instantiation cycle. You might very well have to modify them to work with Turbolinks' new set of events. For help with this, check out the [Turbolinks Compatibility project](http://reed.github.io/turbolinks-compatibility).

Additional Resources
--------------------

[](#additional-resources)

Please refer to the [turbolinks](https://github.com/rails/turbolinks) and [jquery.turbolinks](https://github.com/kossnocorp/jquery.turbolinks) projects if you require additional information on the javascript libraries and their usage.

Bugs
----

[](#bugs)

For bugs or feature requests, please [create an issue](https://github.com/efficiently/turbolinks/issues/new).

Credits
-------

[](#credits)

This package is a fork of [Frenzy Turbolinks](https://github.com/frenzyapp/turbolinks) repository.

Which is based on the Symfony middleware package [Helthe Turbolinks](https://github.com/helthe/Turbolinks).

Many thanks to them!

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 76.5% 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 ~0 days

Total

2

Last Release

4067d ago

Major Versions

0.9.x-dev → 1.0.x-dev2015-03-30

### Community

Maintainers

![](https://www.gravatar.com/avatar/21fcf8f64cabe020f277c5e7edb0c8fa165852c3beb49d93233a9b7e72c51004?d=identicon)[TortueTorche](/maintainers/TortueTorche)

---

Top Contributors

[![MathieuDoyon](https://avatars.githubusercontent.com/u/1854511?v=4)](https://github.com/MathieuDoyon "MathieuDoyon (13 commits)")[![tortuetorche](https://avatars.githubusercontent.com/u/5038872?v=4)](https://github.com/tortuetorche "tortuetorche (3 commits)")[![carlalexander](https://avatars.githubusercontent.com/u/654684?v=4)](https://github.com/carlalexander "carlalexander (1 commits)")

---

Tags

laraveljavascriptjqueryajaxlaravel 5assetpjaxturbolinksjquery.turbolinkslarasset

### Embed Badge

![Health badge](/badges/efficiently-turbolinks/health.svg)

```
[![Health](https://phpackages.com/badges/efficiently-turbolinks/health.svg)](https://phpackages.com/packages/efficiently-turbolinks)
```

###  Alternatives

[frenzy/turbolinks

Frenzy Turbolinks makes following links in your web application faster with Laravel

16023.2k](/packages/frenzy-turbolinks)[proengsoft/laravel-jsvalidation

Validate forms transparently with Javascript reusing your Laravel Validation Rules, Messages, and FormRequest

1.1k2.3M49](/packages/proengsoft-laravel-jsvalidation)[efficiently/jquery-laravel

This package provides jQuery and the jQuery-ujs driver for your Laravel &gt;= 6 application.

1311.0k1](/packages/efficiently-jquery-laravel)[leantony/laravel-grid

A grid view for laravel, inspired by the yii2 grid widget

9060.2k](/packages/leantony-laravel-grid)[openskill/datatable

This is a Laravel 5 package for the server and client side of DataTables (http://datatables.net/)

5511.2k1](/packages/openskill-datatable)[mmanos/laravel-casset

An asset management package for Laravel 4.

102.6k](/packages/mmanos-laravel-casset)

PHPackages © 2026

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