Download the PHP package penobit/crash-reporter without Composer

On this page you can find all versions of the php package penobit/crash-reporter. 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 crash-reporter

Penobit's Laravel Crash Reporter

Laravel crash reporter library will notify you about any uncaught exceptions in your laravel application by Sending you an email or making a POST/GET HTTP request to an endpoint

Installation

You can install Laravel Crash Reporter package simply using the Composer Just execute following command:

after compoer downloaded and installed the package you should publish it's config file, To do that run following cmd

This cmd will publish a new file crash-reporter.php to your app/config directory


Configuration

Laravel crash reporter is completely configurable. it's configurable using .env file or directly from crash-reporter.php file. The .env file is our recommended way yo configure the crash reporter

Configuration Environment File
.env
Config file
crash-reporter.php
Default Value
Is Crash Reporter Enabled CRASH_REPORTER_ENABLED enabled false
Send Exceptions Over Email Channel CRASH_REPORTER_EMAIL_CHANNEL channels.email true
Crash Sender EMail Address CRASH_REPORTER_FROM_EMAIL email.from.address MAIL_FROM_ADDRESS in .env
Crash Sender Email's Sender Name CRASH_REPORTER_FROM_NAME email.from.address MAIL_FROM_NAME in .env if available "Laravel Crash Reporter" otherwise
Send crash reports to
Supports multiple addresses seperated by ;
CRASH_REPORTER_EMAIL_ADDRESS email.to null
Send Exceptions Over HTTP Channel CRASH_REPORTER_HTTP_CHANNEL channels.http false
Http request method CRASH_REPORTER_HTTP_METHOD http.method "POST"
Send HTTP request to CRASH_REPORTER_HTTP_ENDPOINT http.endpoint null
HTTP Request Token *1 CRASH_REPORTER_HTTP_TOKEN http.token null

*1 Please Note! The token will be sent in two different ways based on HTTP request method:


Customizations

You can customize the email template by creating a new template in your views directory. just create your custom email template template in this path: /resources/views/vendor/penobit/crash-reporter/crash-reporter-mail.blade.php and the crash reporter uses that instead of the default email template. You can also use these $data variable that is an object containing the exceptions details:


All versions of crash-reporter with dependencies

PHP Build Version
Package Version
Requires illuminate/support Version *
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 penobit/crash-reporter contains the following files

Loading the files please wait ....