santran/slownetwork

Integrate Check Slow Network Connection to Laravel 5.2 and above.
4,273
Install
composer require santran/slownetwork
PHP:>=5.5.9
License:MIT
Last Updated:Apr 21, 2018
Links: GitHub  ·  Packagist
Maintainer: santran

Laravel 5 Check Slow Network Connection

Total Downloads Paypal Donate

Demo: screen shot 2016-12-19 at 15 10 18

Install (Laravel)

Install via composer

composer require santran/slownetwork:dev-master

Add Service Provider to config/app.php in providers section

SanTran\SlowNetwork\SlowNetworkProvider::class

Publish config file and view file, open console and enter bellow command:

php artisan vendor:publish

Config file 'slownetwork.php'

    '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.

@include("slownetwork.slownetwork")

Related Packages

erirk/paypalpayment

laravel-paypalpayment is simple package help you process direct credit card paym...

0
gabrieloliverio/laravel5-generators

Database metadata-based generators for Laravel 5

1
doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

617,346,630 9,703
laravel/framework

The Laravel Framework.

561,395,438 34,860
laravel/tinker

Powerful REPL for the Laravel framework.

471,804,685 7,440