Download the PHP package squareboat/sneaker without Composer

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

Laravel Exception Notifications

An easy way to send emails with stack trace whenever an exception occurs on the server for Laravel applications.

Install

Install via Composer

For Laravel <= 5.2, please use the v1 branch!

For Laravel 5.2 < version <= 6.x, please use the v5 branch!

Configure Laravel

If you are using laravel 5.5 or higher you should skip this step.

If you are using laravel 5.3 or 5.4, simply add the service provider to your project's config/app.php file:

Service Provider

Add Sneaker's Exception Capturing

Add exception capturing to app/Exceptions/Handler.php:

Configuration File

Create the Sneaker configuration file with this command:

The config file will be published in config/sneaker.php

Following are the configuration attributes used for the Sneaker.

silent

The package comes with 'silent' => true, configuration by default, since you probably don't want error emailing enabled on your development environment. Especially if you've set 'debug' => true,.

For sending emails when an exception occurs set SNEAKER_SILENT=false in your .env file.

capture

It contains the list of the exception types that should be captured. You can add your exceptions here for which you want to send error emails.

By default, the package has included Symfony\Component\Debug\Exception\FatalErrorException::class.

You can also use '*' in the $capture array which will in turn captures every exception.

To use this feature you should add the following code in app/Exceptions/Handler.php:

to

This is the list of recipients of error emails.

ignored_bots

This is the list of bots for which we should NOT send error emails.

Customize

If you need to customize the subject and body of email, run following command:

Note - Don't run this command again if you have run it already.

Now the email's subject and body view are located in the resources/views/vendor/sneaker directory.

We have passed the thrown exception object $exception in the view which you can use to customize the view to fit your needs.

Sneak

Test your integration

To verify that Sneaker is configured correctly and our integration is working, use sneaker:sneak Artisan command:

A SquareBoat\Sneaker\Exceptions\DummyException class will be thrown and captured by Sneaker. The captured exception will appear in your configured email immediately.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

About SquareBoat

SquareBoat is a startup focused, product development company based in Gurgaon, India. You'll find an overview of all our open source projects on GitHub.

License

The MIT License. Please see SquareBoat


All versions of sneaker with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
illuminate/support Version 5.3.*|5.4.*|5.5.*|5.6.*|5.7.*|5.8.*|6.*
illuminate/view Version 5.3.*|5.4.*|5.5.*|5.6.*|5.7.*|5.8.*|6.*
illuminate/config Version 5.3.*|5.4.*|5.5.*|5.6.*|5.7.*|5.8.*|6.*
illuminate/mail Version 5.3.*|5.4.*|5.5.*|5.6.*|5.7.*|5.8.*|6.*
illuminate/log Version 5.3.*|5.4.*|5.5.*|5.6.*|5.7.*|5.8.*|6.*
symfony/debug Version ~3.1|~3.2|~4.0
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 squareboat/sneaker contains the following files

Loading the files please wait ....