PHPackages                             mixdinternet/laravel-ssr - 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. [API Development](/categories/api)
4. /
5. mixdinternet/laravel-ssr

Abandoned → [spatie/laravel-server-side-rendering](/?search=spatie%2Flaravel-server-side-rendering)Library[API Development](/categories/api)

mixdinternet/laravel-ssr
========================

Server Side Rendering with Laravel

1.0.1(8y ago)043MITPHP

Since Sep 2Pushed 8y ago1 watchersCompare

[ Source](https://github.com/mixdinternet/laravel-ssr)[ Packagist](https://packagist.org/packages/mixdinternet/laravel-ssr)[ RSS](/packages/mixdinternet-laravel-ssr/feed)WikiDiscussions master Synced yesterday

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

Server Side Rendering with Laravel + Phantomjs
----------------------------------------------

[](#server-side-rendering-with-laravel--phantomjs)

[![Total Downloads](https://camo.githubusercontent.com/812d1604b08eb7c8347ae333e05b23707030ef6bf1b0c85a215c4f1454d8b461/68747470733a2f2f706f7365722e707567782e6f72672f6d697864696e7465726e65742f6c61726176656c2d7373722f642f746f74616c2e737667)](https://packagist.org/packages/mixdinternet/laravel-ssr)[![Latest Stable Version](https://camo.githubusercontent.com/81a752d1ad5aed50a88df378d0e1e3146d03eadcf092884199d852021cc3fc25/68747470733a2f2f706f7365722e707567782e6f72672f6d697864696e7465726e65742f6c61726176656c2d7373722f762f737461626c652e737667)](https://packagist.org/packages/mixdinternet/laravel-ssr)[![License](https://camo.githubusercontent.com/63131bcd64780f8f0b2b1537066bad402e5e56a02361b264e8fcb9c87fef8a66/68747470733a2f2f706f7365722e707567782e6f72672f6d697864696e7465726e65742f6c61726176656c2d7373722f6c6963656e73652e737667)](https://packagist.org/packages/mixdinternet/laravel-ssr)

Did someone say Server Side Rendering with Laravel?

This package adds a middleware on your Laravel websites that capture GET requests with `_escaped_fragment_`. The url will be rendering with [Phantomjs](http://phantomjs.org) and will be cached with [Laravel Cache Drive](https://laravel.com/docs/master/cache)

To make the magic, just add `` to the `` of all pages that you want to be indexed. (maybe master.blade.php)

More info about [*escaped\_fragment*](https://developers.google.com/webmasters/ajax-crawling/docs/specification)

Dependencies
------------

[](#dependencies)

- [PHP Phantonjs](https://github.com/jonnnnyw/php-phantomjs)

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

[](#installation)

You can install this package via composer

```
  composer require mixdinternet/laravel-ssr
```

In Laravel 5.5 the service provider will automatically get registered. In older versions of the framework just add the service provider in `config/app.php` file:

```
'providers' => [
    ...
    Mixdinternet\SSR\Providers\SSRServiceProvider::class,
];
```

You can publish the config file with:

```
php artisan vendor:publish --provider="Mixdinternet\SSR\Providers\SSRServiceProvider" --tag="config"
```

Phantomjs Instalation
---------------------

[](#phantomjs-instalation)

Get your copy of Phantomjs [here](http://phantomjs.org/download.html)

Extract the file and put the content of `bin` folder in `storage/app`

It will looks like something like this `storage/app/phantonjs`

Don't worry, you can change this in `config/ssr.php` =)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

Established project with proven stability

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

Total

2

Last Release

3171d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7e4d60ba30f409161026fd37c5a106cc32c4e4d29411f805553623cca632dd72?d=identicon)[agenciafmd](/maintainers/agenciafmd)

---

Top Contributors

[![irineujunior](https://avatars.githubusercontent.com/u/260451?v=4)](https://github.com/irineujunior "irineujunior (5 commits)")

---

Tags

laravelvueSSRserver-side-renderingangular

### Embed Badge

![Health badge](/badges/mixdinternet-laravel-ssr/health.svg)

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

###  Alternatives

[darkaonline/l5-swagger

OpenApi or Swagger integration to Laravel

2.9k34.0M112](/packages/darkaonline-l5-swagger)[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[knuckleswtf/scribe

Generate API documentation for humans from your Laravel codebase.✍

2.3k12.2M45](/packages/knuckleswtf-scribe)[badaso/core

The API &amp; platform builder, build your apps 10x faster even more, it's open source &amp; 100% free !

1.3k16.2k10](/packages/badaso-core)[scriptdevelop/whatsapp-manager

Paquete para manejo de WhatsApp Business API en Laravel

762.6k](/packages/scriptdevelop-whatsapp-manager)

PHPackages © 2026

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