Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/getsentry/sentry-symfony
The official Symfony SDK for Sentry (sentry.io)
https://github.com/getsentry/sentry-symfony
bundle hacktoberfest php sentry sentry-client symfony symfony-bundle tag-production
Last synced: 22 days ago
JSON representation
The official Symfony SDK for Sentry (sentry.io)
- Host: GitHub
- URL: https://github.com/getsentry/sentry-symfony
- Owner: getsentry
- License: mit
- Created: 2016-04-28T10:04:52.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-10-02T06:54:57.000Z (about 1 month ago)
- Last Synced: 2024-10-12T22:35:13.661Z (22 days ago)
- Topics: bundle, hacktoberfest, php, sentry, sentry-client, symfony, symfony-bundle, tag-production
- Language: PHP
- Homepage: https://sentry.io
- Size: 1.31 MB
- Stars: 691
- Watchers: 59
- Forks: 169
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Authors: AUTHORS
Awesome Lists containing this project
README
_Bad software is everywhere, and we're tired of it. Sentry is on a mission to help developers write better software faster, so we can get back to enjoying technology. If you want to join us [**Check out our open positions**](https://sentry.io/careers/)_
# Official Sentry SDK for Symfony
[![Stable release][Last stable image]][Packagist link]
[![License](https://poser.pugx.org/sentry/sentry-symfony/license)](https://packagist.org/packages/sentry/sentry-symfony)
[![Total Downloads](https://poser.pugx.org/sentry/sentry-symfony/downloads)](https://packagist.org/packages/sentry/sentry-symfony)
[![Monthly Downloads](https://poser.pugx.org/sentry/sentry-symfony/d/monthly)](https://packagist.org/packages/sentry/sentry-symfony)[![CI](https://github.com/getsentry/sentry-symfony/actions/workflows/tests.yaml/badge.svg)](https://github.com/getsentry/sentry-symfony/actions/workflows/tests.yaml)
[![Coverage Status][Master Code Coverage Image]][Master Code Coverage]
[![Discord](https://img.shields.io/discord/621778831602221064)](https://discord.gg/cWnMQeA)This is the official Symfony SDK for [Sentry](https://getsentry.com/).
## Getting Started
### Install
Install the SDK using [Composer](https://getcomposer.org/).
```bash
composer require sentry/sentry-symfony
```### Configure
Add the [Sentry DSN](https://docs.sentry.io/quickstart/#configure-the-dsn) to your `.env` file.
```
###> sentry/sentry-symfony ###
SENTRY_DSN="https://[email protected]/1"
###< sentry/sentry-symfony ###
```### Usage
```php
use function Sentry\captureException;try {
$this->functionThatMayFail();
} catch (\Throwable $exception) {
captureException($exception);
}
```## Symfony Version Compatibility
## Contributing to the SDK
Please refer to [CONTRIBUTING.md](CONTRIBUTING.md).
## Getting help/support
If you need help setting up or configuring the Symfony SDK (or anything else in the Sentry universe) please head over to the [Sentry Community on Discord](https://discord.com/invite/Ww9hbqr). There is a ton of great people in our Discord community ready to help you!
## Resources
- [![Documentation](https://img.shields.io/badge/documentation-sentry.io-green.svg)](https://docs.sentry.io/quickstart/)
- [![Discord](https://img.shields.io/discord/621778831602221064)](https://discord.gg/Ww9hbqr)
- [![Stack Overflow](https://img.shields.io/badge/stack%20overflow-sentry-green.svg)](http://stackoverflow.com/questions/tagged/sentry)
- [![Twitter Follow](https://img.shields.io/twitter/follow/getsentry?label=getsentry&style=social)](https://twitter.com/intent/follow?screen_name=getsentry)## License
Licensed under the MIT license, see [`LICENSE`](LICENSE)
[Last stable image]: https://poser.pugx.org/sentry/sentry-symfony/version.svg
[Packagist link]: https://packagist.org/packages/sentry/sentry-symfony
[Master Code Coverage]: https://codecov.io/gh/getsentry/sentry-symfony/branch/master
[Master Code Coverage Image]: https://img.shields.io/codecov/c/github/getsentry/sentry-symfony/master?logo=codecov