Download the PHP package exceptions-center/laravel without Composer

On this page you can find all versions of the php package exceptions-center/laravel. 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 laravel

Laravel Exceptions' Center

Package to send the exceptions to the Exceptions' Center from a Laravel website.

License: MIT

Installation

You can quickly add this package in your application using Composer. Be careful to use the correct version of the package regarding your Laravel application version:

Version

For now, this package supports all Laravel versions from 5.3.

Composer

In a Bash terminal:

Usage

In this section, we will see how to use the current package features. You need to add some lines into your exceptions handler in :

If an error occurred during the sending, the error will be saved in a .

Configuration

You have two different ways to configure your application:

Ways

Using config file

You can access to a part of the available configuration using your file:

Note : don't forget to execute to take the changes into account.

Using published sender

Another way is to publish the exceptions sender to customize all the possible methods. You can generate a file using:

Note : If you chose to publish the exceptions sender, you need to define the 'model' key in the previous app configurations, otherwise the test command won't use your updates.

Customisation

If you defined the configurations (previous step) and published the sender, the config array will be taken into account.

Settings

You need to define the project key, available in the Exceptions' Center website.

Multithreading

The current package allows sending the exceptions using a thread to save execution time. You can enable or disable this feature in the app config file at the key multithreading or in your published ExceptionSender with the multithreading property.

Note : if an error occurred during the starting of the thread, then the exceptions will be sent using cURL.

User information

You can define all the information you want about the user with the methods and . Please, be careful regarding the data you send. Don't forget user's sensitive information should not leave your application, even for debuging. If you are using another auth guardian than the Laravel default Auth, you need to override the method.

Event listener

If you are using an other package that fire events when an exception is caught, then you can use the to handle this event. In your , you just have to add:

where is the event name. This event needs to implement and methods.

Test

You can check whether the package is working with the Artisan command:

Note : Did you execute ?

Architecture

This is the files architecture of the package:

You can generate the previous tree using:

Licence

This package is under the terms of the MIT license.


All versions of laravel with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6.4
laravel/framework Version >=5.3
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 exceptions-center/laravel contains the following files

Loading the files please wait ....