2017 © Pedro Peláez
 

project browser-requirement

Browser Requirement for Laravel

image

tibian/browser-requirement

Browser Requirement for Laravel

  • Thursday, November 17, 2016
  • by TiBian
  • Repository
  • 1 Watchers
  • 1 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Browser Requirement for Laravel

Now you can easily Set-up your minimum Browser Requirement for your Application., (*1)

Install

Require this package with composer using the following command, (*2)

composer require tibian/browser-requirement

After updating composer, add the service provider to the providers array in config/app.php, (*3)

TiBian\BrowserRequirement\BrowserRequirementServiceProvider::class,

Config

Publish the config file to change it as you wish., (*4)

php artisan vendor:publish

or

php artisan vendor:publish --provider="TiBian\BrowserRequirement\BrowserRequirementServiceProvider" --tag=config

Usage

Open the config/browser.php and you are ready to start., (*5)

Let set-up minimum Browser Requirement for OS X and Windows..., (*6)

Os::OSX => [
    Browser::CHROME => 25,
    Browser::FIREFOX => 25,
    Browser::OPERA => 29,
],
// Windows
Os::WINDOWS => [
    Browser::CHROME => 25,
    Browser::FIREFOX => 25,
    Browser::OPERA => 29,
    Browser::SAFARI => 8,
    Browser::IE => 9,
    Browser::EDGE => 11,
],

Routes

This is a Example from the Routes you need, you are free to customize the Routes like you wish., (*7)

Route::get("requirement-browser", "ErrorsController@browser")
    ->name('requirement::browser');
Route::get("/", "PagesController@index")
    ->name('home');
Any idea for new projects, feel free to Contact me.
Thank you for visiting my Repository.

The Versions

17/11 2016

dev-master

9999999-dev

Browser Requirement for Laravel

  Sources   Download

MIT

The Requires

 

laravel browser requirement

17/11 2016

1.0.1

1.0.1.0

Browser Requirement for Laravel

  Sources   Download

MIT

The Requires

 

laravel browser requirement

06/06 2016

1.0.0

1.0.0.0

Browser Requirement for Laravel

  Sources   Download

MIT

The Requires

 

laravel browser requirement