This package is abandoned and no longer maintained. No replacement package was suggested.

Eyewitness.io client for Laravel 4.2 applications

v1.1.2 2017-05-17 15:37 UTC

This package is not auto-updated.

Last update: 2020-03-06 17:32:34 UTC


README

68747470733a2f2f6579657769746e6573732e696f2f696d672f6c6f676f2f7061636b6167652e706e67

Eyewitness.io Legacy package for Laravel 4.2 applications

This is a legacy pacakge for the original Eyewitness. A new version for Laraverl 4 is coming shortly to work with the new Eyewitness v3

Eyewitness.io is a monitoring and application analytic solution focused specifically for Laravel. Know how your applications are actually performing. Monitor uptime, queues, cron schedules, email, logs, security, SSL, DNS and much more. Super simple installation - be up and running in just 90 seconds...

Installation

Composer

1) Add the package to "require" in composer.json

composer require eyewitness/eye4

2) Once composer is finished, you need to add the service provider. Open app/config/app.php, and add a new line to the end of the providers array:

'Eyewitness\Eye\EyeServiceProvider',

3) Now run the package installer.

php artisan eyewitness:install

At the end you will be optionally asked for your email, so you we can email you a link to login with your app_token and secret_key (the email will be sent by our server, so it is ok if you do not have email configured on your local server).

Alternatively you can just copy and paste the app_token and secret_key yourself into the Eyewitness.io website.

4) Now log into https://eyewitness.io to view your server. If you dont already have an account, you can create a free trial. Once you login, simply use your app_token and secret_key to associate this application to your account.

Setup

Running php artisan eyewitness:install will actually setup almost everything for you. It will automatically start monitoring your default queue, start emailing testing etc.

In the app/config/packages/eyewitness/eye/config.php file there are a number of options to disable certain checks (for example, if you dont use email or queues in your application).

There is one important difference between our Laravel 4 and Laravel 5 package. In Laravel 4, because there is no built in cron scheduler, you need to add the cron/commands you would like monitor in your Eyewitness config.php file. Dont worry - it is very quick and easy:

// This is an example of what you might put:

'scheduled_monitor_list' => ['backup:run' => '0 * * * *',
                             'weekly:report' => '5 7 * * 2',
                             'another:example' => '4 1 3 * *'],

Once those commands run - they will be automatically added to your Eyewitness dashboard on the next cycle and be monitored automatically.

The only other config option some people need to change is queue_tube_list. If you run multiple queue tubes (using --tube) - then you should add the other queue tubes you want monitored here.

Version

This package is specifically for Laravel 4.2.

If you need to monitor a Laravel 5 application you should use the Eyewitness Laravel 5 package

Documentation & Support

Please visit our help center and documentation page if you need more assistance: http://docs.eyewitness.io

Security Vulnerabilites

If you discover a security vulnerability within this pacakge, please email security@eyewitness.io instead of using the issue tracker. All security vulnerabilities will be promptly addressed.

License

This package is open-sourced software licensed under the MIT license.