Logviewer for Syntara admin package

Installs: 135

Dependents: 0

Suggesters: 0

Stars: 11

Watchers: 3

Forks: 3

Open Issues: 1

1.1 2013-12-23 10:25 UTC


A Logviewer for Syntara package, using Mikemand logviewer package



  • Views and delete Laravel4 logs


  • PHP 5.3+



In the require key of composer.json file add the following line

If your application uses Laravel 4.0 :

/!\ This branch is no longer maintained

"mrjuliuss/syntara-logviewer": "1.0.*"

If your application uses Laravel 4.1 :

"mrjuliuss/syntara-logviewer": "1.1.*"

Run the Composer update command

$ composer update

In app/config/app.php :

Add 'Kmd\Logviewer\LogviewerServiceProvider' and 'Mrjuliuss\SyntaraLogviewer\SyntaraLogviewerServiceProvider' to the end of the $providers array

'providers' => array(

Launch install commands :

php artisan logviewer:install

You can see logs here :


Custom Development

Add logviewer to the navbar

  • If you already have a template for navigation : -> add to your template


  • else :

add to app/filters.php (or app/routes.php)

View::composer('syntara::layouts.dashboard.master', function($view)
    $view->nest('navPages', 'syntara-logviewer::navigation');

A note about Laravel 4.1 (mikemand recommandation)

As of right now (2013-11-29), fresh Laravel 4.1 applications log things differently than they used to. While this doesn't technically break LogViewer, LogViewer also doesn't know how to handle these changes. Whether these changes are permanent or not is unclear, but here's a quick fix:

In your app/start/global.php, line 34 change:



$logFile = 'log-'.php_sapi_name().'.txt';


This only applies to new installations of Laravel 4.1. If you've upgraded an existing 4.0 application (and did not make changes to the way logs are created and stored), everything should still work.

Others :

Please see Mikemand logviewer doc.


Syntara logviewer is released under the MIT License. See the licence file for details.