Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Generated on May 18, 2024 via composer

sentry/sdk 4.0.0

This is a meta package of sentry/sentry. We recommend using sentry/sentry directly.
Package summary
Share
0
issues
1
license
9
MIT
Package created
12 Feb 2019
Version published
6 Nov 2023
Maintainers
4
Total deps
9
Direct deps
1
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
9 Packages, Including:
guzzlehttp/psr7@2.6.2
jean85/pretty-package-versions@2.0.6
psr/http-factory@1.1.0
psr/log@3.0.0
ralouphie/getallheaders@3.0.3
sentry/sdk@4.0.0
sentry/sentry@4.7.0
symfony/deprecation-contracts@v3.5.0
symfony/options-resolver@v7.0.7
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

1
All Dependencies CSV
β“˜ This is a list of sentry/sdk 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
sentry/sentry4.7.0-MIT
prod

Visualizations

Frequently Asked Questions

What does sentry/sdk do?

The sentry/sdk is a Composer metapackage that ships with the sentry/sentry library and a recommended HTTP client. Sentry, a market leader in error tracking applications, provides this SDK to facilitate easy integration with PHP projects. By tracking errors and exceptions in real-time, it significantly improves the application debugging process and makes performance-monitoring smoother.

How do you use sentry/sdk?

To utilize the sentry/sdk, you first need to install it using Composer. You can accomplish this by running the command:

composer require sentry/sdk:"<Package Version>"

Replace <Package Version> with the latest version compatible with your project.

Below is a rudimentary code example of how you might use the Sentry PHP SDK in your project. Remember that this is just basic usage and the SDK offers far more capabilities that can be tapped into.

\Sentry\init(['dsn' => 'https://<public_key>@sentry.io/<project_id>']);

try {
    thisFunctionThrows(); // An example function that throws an exception
} catch (Exception $exception) {
    \Sentry\captureException($exception); // The exception is caught and reported to Sentry
}

In the above script, replace <public_key> and <project_id> with your actual Sentry DSN values.

Where are the sentry/sdk docs?

For detailed documentation and further learning resources on Sentry PHP SDK, you can refer to the official documentation. If you encounter any troubles with the SDK or need assistance in a specific area, you can raise an issue on their issues tracker on GitHub.