Download the PHP package sukohi/whoops-report without Composer

On this page you can find all versions of the php package sukohi/whoops-report. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package whoops-report

WhoopsReport

A Laravel package to send a report when occurring bug.(for Laravel 4.2)

Whoops Report

Installation

Add this package name in composer.json

"require": {
  "sukohi/whoops-report": "1.*"
}

Execute composer command.

composer update

Register the service provider in app.php

'providers' => array(  
    ...Others...,  
    'Sukohi\WhoopsReport\WhoopsReportServiceProvider',
)

Also alias

'aliases' => array(  
    ...Others...,  
    'WhoopsReport' => 'Sukohi\WhoopsReport\Facades\WhoopsReport',
)

Preparation

Set routes in your routes.php

(in routes.php)

Route::post('whoops-report', array('as' => 'whoops-report', function()
{
    return WhoopsReport::send('[email protected]');
}));

App::error(function(Exception $exception, $code)
{
    return WhoopsReport::view($exception);
});

That's all.

About cc and bcc

You also can set cc and/or bcc email addresses like this.

return WhoopsReport::send('[email protected]', [
    'cc' => ['[email protected]'],
    'bcc' => ['[email protected]'],
]);

Locale

If you'd like to use language except English, you need to set a lang file like this.

(in case of Japanese)

app/lang/packages/ja/whoops-report/message.php

<?php

return [
    'title' => 'エラーが発生しました。',
    'description' => 'ご不便をお掛けしまして申し訳ございません。以下に不具合の状況をできるだけ詳細にご記入し送信してください。',
    'button' => '報告する',
    'confirm' => 'バグ報告を送信します。よろしいですか?',
    'complete' => 'バグ報告が送信されました。ご協力ありがとうございました。',
];

Note

I guess that you might need to check authorized in routes.php.

License

This package is licensed under the MIT License.

Copyright 2015 Sukohi Kuhoh


All versions of whoops-report with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
illuminate/support Version 4.2.*
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package sukohi/whoops-report contains the following files

Loading the files please wait ....