digitlab/adaptive-view

Adaptive views for Laravel.
66 6
Install
composer require digitlab/adaptive-view
Latest Version:v1.1.0
PHP:>=5.6
Laravel:5
License:MIT
Last Updated:Mar 6, 2016
Links: GitHub  ·  Packagist
Maintainer: digitlab

Adaptive View

StyleCI Build Status Total Downloads Latest Stable Version License

An adaptive view extension for Laravel.

Installation

Install using composer:

composer require digitlab/adaptive-view

Follow the instructions in setting up Agent.

Add the service provider in app/config/app.php:

DigitLab\AdaptiveView\AdaptiveViewServiceProvider::class,

Usage

You can create a mobile view with the .mobile.blade.php extension. Similarly you can create tablet views with the .tablet.blade.php extension. Mobile and tablet views will fallback to normal views if they do not exist.

Troubleshooting

  • Check that AdaptiveViewServiceProvider is registered as soon after the ViewServiceProvider as possible. Invoking the view factory before registering AdaptiveViewServiceProvider will cause it not to work.

License

Adaptive View is licensed under The MIT License (MIT).

Related Packages

mattyg/meta

A package that makes it easy to add meta tags to your views.

37 6
laracasts/presenter

Simple view presenters

3,946,416 863
ryannielson/meta

A package that makes it easy to add meta tags to your views. Includes easy Larav...

23,289 30
quintype/meta

A package that makes it easy to add meta tags to your views. Includes easy Larav...

15,711 0

Version History

Version Released PHP Laravel License
v1.1.0 >=5.6 ^5.0 MIT
v1.0.1 >=5.6 ^5.0 MIT
v1.0.0 >=5.6 ^5.0 MIT