Download the PHP package pinfirestudios/craft3-bugsnag without Composer

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

Bugsnag plugin for Craft CMS 3.x

Enables errors to be sent to Bugsnag

Requirements

This plugin requires Craft CMS 3.0.0-beta.23 or later.

Installation

To install the plugin, follow these instructions.

  1. Open your terminal and go to your Craft project:

  2. Then tell Composer to load the plugin:

  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for craft3-bugsnag.

  4. If you want to be able to capture early initialization errors, you need to add this plugin to your project's bootstrap configuration. To do this, in config/app.php, add:

This will load the Bugsnag component and logging portion early in the project initialization, giving you the greatest visibility into errors. If you don't enable this, Bugsnag will be initialized when plugins are set up, later in the loading process.

Configuring craft3-bugsnag

You will need to provide your API key and optionally the release stage via the settings page or via config/env files. The recommended way however is to copy src/config.php to /APP_ROOT/config/craft3-bugsnag.php, then either edit it directly, or add BUGSNAG_API_KEY to your .env file. For the release stage, if not set directly, it will default to the CRAFT_ENVIRONMENT variable.

Using craft3-bugsnag

If things crash and this is enabled, visit your Bugsnag dashboard to see why.

Getting JavaScript errors

If you would like to use Bugsnag's JavaScript on your site, you'll need to install bower-asset/bugsnag:

  1. Add the following to your project's composer.json

  2. Require bower-asset/bugsnag

  3. Once you have it installed, add BugsnagAsset to your TWIG file (or controller if working inside a plugin)

In TWIG:

{% do view.registerAssetBundle("\\pinfirestudios\\yii2bugsnag\\BugsnagAsset") %}

In a plugin asset:

class AppAsset extends AssetBundle
{
    public $depends = [
        'pinfirestudios\yii2bugsnag\BugsnagAsset',
    ];
}

If you need to use version 2 of Bugsnag's JavaScript, you can specify the version in your configuration. See Customizing Asset Bundles.


All versions of craft3-bugsnag with dependencies

PHP Build Version
Package Version
Requires craftcms/cms Version ^3.1
pinfirestudios/yii2-bugsnag Version ^1.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 pinfirestudios/craft3-bugsnag contains the following files

Loading the files please wait ....