2017 © Pedro Peláez
 

library laravel-crawl-render

Pre-render your site for web crawlers

image

appstract/laravel-crawl-render

Pre-render your site for web crawlers

  • Wednesday, April 25, 2018
  • by ovanschie
  • Repository
  • 4 Watchers
  • 5 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 8 Versions
  • 8 % Grown

The README.md

[Wip] Laravel Crawler Pre-render

Latest Version on Packagist Total Downloads Software License, (*1)

A simple package to pre-render your Javascript site for web crawlers like Google bot to improve your SEO., (*2)

It uses Spatie's Crawler and Browsershot to crawl your website and store the HTML. Crawlers (detected by Jaybizzle's Crawler Detect) are getting the pre-rendered version served., (*3)

Installation

You can install the package via composer:, (*4)

``` bash composer require appstract/laravel-crawl-render, (*5)


You need Puppeteer to be installed for Browsershot to work, see: [https://github.com/spatie/browsershot#requirements](https://github.com/spatie/browsershot#requirements) ## Usage First add the middleware to any routes you want to Pre-render. ``` php \Appstract\CrawlRender\Middleware\CrawlerPrerenderMiddleware::class

Then run the crawler to pre-render your site: ``` php php artisan prerender:crawl, (*6)


You can run this command regularly, for example after a deploy or with a schedule: ``` php // app/console/Kernel.php protected function schedule(Schedule $schedule) { $schedule->command('prerender:crawl')->daily()->at('02:00'); }

Testing

bash composer test, (*7)

Contributing

Contributions are welcome, thanks to y'all :), (*8)

About Appstract

Appstract is a small team from The Netherlands. We create (open source) tools for webdevelopment and write about related subjects on Medium. You can follow us on Twitter, buy us a beer or support us on Patreon., (*9)

License

The MIT License (MIT). Please see License File for more information., (*10)

The Versions

25/04 2018

dev-master

9999999-dev https://github.com/appstract/laravel-crawl-render

Pre-render your site for web crawlers

  Sources   Download

MIT

The Requires

 

The Development Requires

crawler vue render appstract pre-render

25/04 2018

0.1.4

0.1.4.0 https://github.com/appstract/laravel-crawl-render

Pre-render your site for web crawlers

  Sources   Download

MIT

The Requires

 

The Development Requires

crawler vue render appstract pre-render

25/04 2018

0.1.3

0.1.3.0 https://github.com/appstract/laravel-crawl-render

Pre-render your site for web crawlers

  Sources   Download

MIT

The Requires

 

The Development Requires

crawler vue render appstract pre-render

25/04 2018

dev-analysis-Xpk6mo

dev-analysis-Xpk6mo https://github.com/appstract/laravel-crawl-render

Pre-render your site for web crawlers

  Sources   Download

MIT

The Requires

 

The Development Requires

crawler vue render appstract pre-render

25/04 2018

dev-analysis-XardmY

dev-analysis-XardmY https://github.com/appstract/laravel-crawl-render

Pre-render your site for web crawlers

  Sources   Download

MIT

The Requires

 

The Development Requires

crawler vue render appstract pre-render

17/04 2018

0.1.2

0.1.2.0 https://github.com/appstract/laravel-crawl-render

Pre-render your site for web crawlers

  Sources   Download

MIT

The Requires

 

The Development Requires

crawler vue render appstract pre-render

15/04 2018

0.1.1

0.1.1.0 https://github.com/appstract/laravel-crawl-render

Pre-render your site for web crawlers

  Sources   Download

MIT

The Requires

 

The Development Requires

crawler vue render appstract

15/04 2018

0.1.0

0.1.0.0 https://github.com/appstract/laravel-crawl-render

Pre-render your site for web crawlers

  Sources   Download

MIT

The Requires

 

The Development Requires

crawler vue render appstract