2017 © Pedro Peláez
 

library slownetwork

Integrate Check Slow Network Connection to Laravel 5.2 and above.

image

santran/slownetwork

Integrate Check Slow Network Connection to Laravel 5.2 and above.

  • Saturday, April 21, 2018
  • by santran
  • Repository
  • 0 Watchers
  • 0 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Laravel 5 Check Slow Network Connection

Total Downloads Paypal Donate, (*1)

Demo: screen shot 2016-12-19 at 15 10 18, (*2)

Install (Laravel)

Install via composer, (*3)

composer require santran/slownetwork:dev-master

Add Service Provider to config/app.php in providers section, (*4)

SanTran\SlowNetwork\SlowNetworkProvider::class

Publish config file and view file, open console and enter bellow command:, (*5)

php artisan vendor:publish

Config file 'slownetwork.php', (*6)

    'enable' => true, // Enable check slow network, Disable set : false
    'version' => 1,
    'text.taking.long.time' => "The website is taking a long time to load.", // Text show on alert Slow Connect
    'text.reload.page' => "You can reload this page by", // Text show on alert Slow Connect
    'text.click.here' => "CLICK HERE",// Text show on alert Slow Connect
    'text.dismiss' => "[x] dismiss",// Button Text show on alert Slow Connect
    'margin.bottom' => 30,
    'margin.bottom' => 45,
    'width' => 320,// alert Slow Connect width
    'height' => 45,// alert Slow Connect height
    'color' => "#F0DE7D",   // alert Slow Connect background color
    'timeout' => 5000, // Set timeout show slow connection wait while page load content

How to use ? Open your layouts file and add js to view., (*7)

@include("slownetwork.slownetwork")

The Versions

21/04 2018

dev-master

9999999-dev

Integrate Check Slow Network Connection to Laravel 5.2 and above.

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

by San Tran