PHPackages                             graham-campbell/viewer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. graham-campbell/viewer

Abandoned → [illuminate/view](/?search=illuminate%2Fview)ArchivedLibrary[Framework](/categories/framework)

graham-campbell/viewer
======================

Viewer Is A View Workaround For Laravel 4.1

v0.2.0-alpha(12y ago)52.6k1Apache-2.0PHPPHP &gt;=5.4.7

Since Jan 21Pushed 11y agoCompare

[ Source](https://github.com/GrahamDeprecated/Laravel-Viewer)[ Packagist](https://packagist.org/packages/graham-campbell/viewer)[ RSS](/packages/graham-campbell-viewer/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (3)Dependencies (5)Versions (4)Used By (1)

Laravel Viewer
==============

[](#laravel-viewer)

[![Build Status](https://camo.githubusercontent.com/34513efcb155f1ba5afb8fe3896f8d4f9612313e3eeb17a07adf880376132b8e/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f47726168616d43616d7062656c6c2f4c61726176656c2d5669657765722f6d61737465722e737667)](https://travis-ci.org/GrahamCampbell/Laravel-Viewer)[![Coverage Status](https://camo.githubusercontent.com/a3265dcf6d605a7584412fc80b24e38f854759d1a1035e4d1f6d2135952593fe/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f47726168616d43616d7062656c6c2f4c61726176656c2d5669657765722f6d61737465722e737667)](https://coveralls.io/r/GrahamCampbell/Laravel-Viewer)[![Software License](https://camo.githubusercontent.com/51063f60f69f5e439b0e68f3a210e4f0cc4ef15ece8b55967fa1aecaa1fb2dbf/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d417061636865253230322e302d627269676874677265656e2e737667)](https://github.com/GrahamCampbell/Laravel-Viewer/blob/master/LICENSE.md)[![Latest Version](https://camo.githubusercontent.com/35447101da4861682c3429272ca4360a3b75550ea2740a8da19fcbdf075a4bac/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f47726168616d43616d7062656c6c2f4c61726176656c2d5669657765722e737667)](https://github.com/GrahamCampbell/Laravel-Viewer/releases)[![Scrutinizer Quality Score](https://camo.githubusercontent.com/6e34405719a33d1e581ab6556992496ef6abc4f0e7439de92070d6a671bb0c48/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f47726168616d43616d7062656c6c2f4c61726176656c2d5669657765722f6261646765732f7175616c6974792d73636f72652e706e673f733d34666439623362336230383964656331353235633134653632643036616261373835343336626464)](https://scrutinizer-ci.com/g/GrahamCampbell/Laravel-Viewer)[![SensioLabsInsight](https://camo.githubusercontent.com/97d5586d13b3d0d20d999e560ea2107a006eea54554d79f09d1de0838843ebc8/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f30346562313930642d323864312d343763352d393465302d3165343763336263383462662f6d696e692e706e67)](https://insight.sensiolabs.com/projects/04eb190d-28d1-47c5-94e0-1e47c3bc84bf)

WARNING
-------

[](#warning)

#### This package is depreciated, and is no longer maintained.

[](#this-package-is-depreciated-and-is-no-longer-maintained)

What Is Laravel Viewer?
-----------------------

[](#what-is-laravel-viewer)

Laravel Viewer is a view workaround for [Laravel 4.1](http://laravel.com).

- Laravel Viewer was created by, and is maintained by [Graham Campbell](https://github.com/GrahamCampbell).
- Laravel Viewer uses [Travis CI](https://travis-ci.org/GrahamCampbell/Laravel-Viewer) with [Coveralls](https://coveralls.io/r/GrahamCampbell/Laravel-Viewer) to check everything is working.
- Laravel Viewer uses [Scrutinizer CI](https://scrutinizer-ci.com/g/GrahamCampbell/Laravel-Viewer) and [SensioLabsInsight](https://insight.sensiolabs.com/projects/04eb190d-28d1-47c5-94e0-1e47c3bc84bf) to run additional checks.
- Laravel Viewer uses [Composer](https://getcomposer.org) to load and manage dependencies.
- Laravel Viewer provides a [change log](https://github.com/GrahamCampbell/Laravel-Viewer/blob/master/CHANGELOG.md), [releases](https://github.com/GrahamCampbell/Laravel-Viewer/releases), and [api docs](http://grahamcampbell.github.io/Laravel-Viewer).
- Laravel Viewer is licensed under the Apache License, available [here](https://github.com/GrahamCampbell/Laravel-Viewer/blob/master/LICENSE.md).

System Requirements
-------------------

[](#system-requirements)

- PHP 5.4.7+ or HHVM 3.0+ is required.
- You will need [Laravel 4.1](http://laravel.com) because this package is designed for it.
- You will need [Composer](https://getcomposer.org) installed to load the dependencies of Laravel Viewer.

Installation
------------

[](#installation)

Please check the system requirements before installing Laravel Viewer.

To get the latest version of Laravel Viewer, simply require `"graham-campbell/viewer": "0.2.*@alpha"` in your `composer.json` file. You'll then need to run `composer install` or `composer update` to download it and have the autoloader updated.

Once Laravel Viewer is installed, you need to register the service provider. Open up `app/config/app.php` and add the following to the `providers` key.

- `'GrahamCampbell\Viewer\ViewerServiceProvider'`

You can register the Viewer facade in the `aliases` key of your `app/config/app.php` file if you like.

- `'Viewer' => 'GrahamCampbell\Viewer\Facades\Viewer'`

Configuration
-------------

[](#configuration)

Laravel Viewer requires no configuration. Just follow the simple install instructions and go!

Usage
-----

[](#usage)

There is currently no usage documentation besides the [API Documentation](http://grahamcampbell.github.io/Laravel-Viewer) for Laravel Viewer.

You may see an example of implementation in [Laravel Navigation](https://github.com/GrahamCampbell/Laravel-Navigation) or [Bootstrap CMS](https://github.com/GrahamCampbell/Bootstrap-CMS).

Updating Your Fork
------------------

[](#updating-your-fork)

Before submitting a pull request, you should ensure that your fork is up to date.

You may fork Laravel Viewer:

```
git remote add upstream git://github.com/GrahamCampbell/Laravel-Viewer.git

```

The first command is only necessary the first time. If you have issues merging, you will need to get a merge tool such as [P4Merge](http://perforce.com/product/components/perforce_visual_merge_and_diff_tools).

You can then update the branch:

```
git pull --rebase upstream master
git push --force origin

```

Once it is set up, run `git mergetool`. Once all conflicts are fixed, run `git rebase --continue`, and `git push --force origin `.

Pull Requests
-------------

[](#pull-requests)

Please review these guidelines before submitting any pull requests.

- When submitting bug fixes, check if a maintenance branch exists for an older series, then pull against that older branch if the bug is present in it.
- Before sending a pull request for a new feature, you should first create an issue with \[Proposal\] in the title.
- Please follow the [PSR-2 Coding Style](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md) and [PHP-FIG Naming Conventions](https://github.com/php-fig/fig-standards/blob/master/bylaws/002-psr-naming-conventions.md).

License
-------

[](#license)

Apache License

Copyright 2013-2014 Graham Campbell

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~44 days

Total

3

Last Release

4401d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d95eb26cb8f3919bb5ca3b6d823daeabbf259663778a970349b245c580713c8e?d=identicon)[graham-campbell](/maintainers/graham-campbell)

---

Top Contributors

[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (47 commits)")

---

Tags

frameworklaravelGraham CampbellGrahamCampbellviewViewerworkaroundLaravel Viewer

### Embed Badge

![Health badge](/badges/graham-campbell-viewer/health.svg)

```
[![Health](https://phpackages.com/badges/graham-campbell-viewer/health.svg)](https://phpackages.com/packages/graham-campbell-viewer)
```

###  Alternatives

[graham-campbell/exceptions

Provides A Powerful Error Response System For Both Development And Production

5911.3M4](/packages/graham-campbell-exceptions)[graham-campbell/digitalocean

DigitalOcean Is A DigitalOcean Bridge For Laravel

509343.1k2](/packages/graham-campbell-digitalocean)[graham-campbell/bitbucket

Bitbucket Is A Bitbucket Bridge For Laravel

75185.0k2](/packages/graham-campbell-bitbucket)[graham-campbell/testbench

TestBench Provides Some Testing Functionality For Laravel

50348.8k363](/packages/graham-campbell-testbench)[graham-campbell/testbench-core

TestBench Core Provides Some Testing Functionality For Laravel

16672.7k13](/packages/graham-campbell-testbench-core)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
