Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on Mar 30, 2024 via composer

sentry/sentry 4.0.1

A PHP SDK for Sentry (http://sentry.io)
Package summary
Share
0
issues
1
license
8
MIT
Package created
27 Apr 2016
Version published
13 Nov 2023
Maintainers
4
Total deps
8
Direct deps
4
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
8 Packages, Including:
guzzlehttp/psr7@2.6.2
jean85/pretty-package-versions@2.0.6
psr/http-factory@1.0.2
psr/log@3.0.0
ralouphie/getallheaders@3.0.3
sentry/sentry@4.0.1
symfony/deprecation-contracts@v3.4.0
symfony/options-resolver@v7.0.0
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

4
All Dependencies CSV
β“˜ This is a list of sentry/sentry 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
guzzlehttp/psr72.6.276.41 kBMIT
prod dev
jean85/pretty-package-versions2.0.6-MIT
prod
psr/log3.0.06.77 kBMIT
prod
symfony/options-resolverv7.0.018.96 kBMIT
prod

Visualizations

Frequently Asked Questions

What does sentry/sentry do?

Sentry/Sentry is a PHP SDK for Sentry (http://sentry.io). This SDK helps developers in tracking errors and exceptions that occur during the execution of your application and sends instant notifications with detailed insight necessary to prioritize, identify, reproduce, and fix each issue. The deployment of this SDK aims to help developers create better software faster, making technology more enjoyable to use.

How do you use sentry/sentry?

To utilize Sentry/Sentry in your project, you must first have Composer installed. If needed, you can find the steps for installing Composer in the official documentation. Once Composer is installed, you can simply install the SDK by running composer require sentry/sdk in your terminal. Alternatively, if you want to quickly get started, you can use the following command:

composer require sentry/sentry php-http/curl-client

In your application, initialize the SDK and capture errors or exceptions as they occur:

\Sentry\init(['dsn' => '___PUBLIC_DSN___' ]); // replace '___PUBLIC_DSN___' with your project's DSN

try {
    thisFunctionThrows(); // function that throws an exception
} catch (\Exception $exception) {
    \Sentry\captureException($exception);
}

Execute the code inside a try-catch block and pass the caught exception to the \Sentry\captureException() function to collect error data.

Where are the sentry/sentry docs?

The complete documentation for Sentry/Sentry PHP SDK can be found at Sentry's official documentation hub: Sentry PHP SDK Documentation. This extensive guide covers every aspect of the SDK, from getting started and setting configurations, to using the SDK and integrating it with popular frameworks like Symfony and Laravel. It is an invaluable resource for any developer aiming to utilize Sentry/Sentry in their projects.