{"id":15023318,"url":"https://github.com/immobiliare/sentry-php","last_synced_at":"2025-10-03T22:30:54.643Z","repository":{"id":56990413,"uuid":"85937984","full_name":"immobiliare/sentry-php","owner":"immobiliare","description":"This project is a fork of official PHP SDK for Sentry to work even with php5.2.","archived":false,"fork":true,"pushed_at":"2021-10-09T17:42:29.000Z","size":982,"stargazers_count":17,"open_issues_count":0,"forks_count":2,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-01-10T14:26:56.901Z","etag":null,"topics":["crash-reporting","error-monitoring","php","php52","sentry"],"latest_commit_sha":null,"homepage":"https://sentry.io","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"getsentry/sentry-php","license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/immobiliare.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-23T10:40:41.000Z","updated_at":"2023-03-14T11:52:25.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/immobiliare/sentry-php","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/immobiliare%2Fsentry-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/immobiliare%2Fsentry-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/immobiliare%2Fsentry-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/immobiliare%2Fsentry-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/immobiliare","download_url":"https://codeload.github.com/immobiliare/sentry-php/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235198479,"owners_count":18951501,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["crash-reporting","error-monitoring","php","php52","sentry"],"created_at":"2024-09-24T19:58:56.551Z","updated_at":"2025-10-03T22:30:54.341Z","avatar_url":"https://github.com/immobiliare.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# immobiliare/sentry-php\n\n[![Build Status](https://travis-ci.org/immobiliare/sentry-php.svg?branch=master)](https://travis-ci.org/immobiliare/sentry-php)\n[![Latest Stable Version](https://poser.pugx.org/immobiliare/sentry-php/v/stable?style=flat-square)](https://packagist.org/packages/immobiliare/sentry-php)\n[![PHP Version Require](http://poser.pugx.org/immobiliare/sentry-php/require/php)](https://packagist.org/packages/immobiliare/sentry-php)\n[![Total Downloads](https://poser.pugx.org/immobiliare/sentry-php/downloads?style=flat-square)](https://packagist.org/packages/immobiliare/sentry-php)\n[![Latest Unstable Version](https://poser.pugx.org/immobiliare/sentry-php/v/unstable?style=flat-square)](https://packagist.org/packages/immobiliare/sentry-php)\n[![License](https://poser.pugx.org/immobiliare/sentry-php/license?style=flat-square)](https://packagist.org/packages/immobiliare/sentry-php)\n[![Monthly Downloads](https://poser.pugx.org/immobiliare/sentry-php/d/monthly?style=flat-square)](https://packagist.org/packages/immobiliare/sentry-php)\n[![Daily Downloads](https://poser.pugx.org/immobiliare/sentry-php/d/daily?style=flat-square)](https://packagist.org/packages/immobiliare/sentry-php)\n\nThis project is a fork of official [PHP SDK v1.7](https://github.com/getsentry/sentry-php) for [Sentry](https://getsentry.com) to work even with php5.2.\n\n## Features\n\n- Automatically report (un)handled exceptions and errors\n- Send customized diagnostic data\n- Process and sanitize data before sending it over the network\n\n## Installation\n\nThere are various ways to install the PHP integration for Sentry.  The\nrecommended way is to use [Composer](http://getcomposer.org).\n\n    $ composer require immobiliare/sentry-php\n\nAlternatively you can manually install it:\n\n1.  Download and extract the latest [sentry-php](https://github.com/immobiliare/sentry-php/archive/master.zip\u003e) archive to your PHP project.\n2.  Require the autoloader in your application:\n\n```php\nrequire_once '/path/to/Raven/library/Raven/Autoloader.php';\nRaven_Autoloader::register();\n```\n\n## Usage\n\n```php\n// Instantiate a new client with a compatible DSN and install built-in\n// handlers\n$sentryClient = new Raven_Client('https://e9ebbd88548a441288393c457ec90441:399aaee02d454e2ca91351f29bdc3a07@app.getsentry.com/3235');\n$sentryClient-\u003einstall();\n\n// Capture an exception\n$event_id = $sentryClient-\u003ecaptureException($ex);\n\n// Give the user feedback\necho \"Sorry, there was an error!\";\necho \"Your reference ID is \" . $event_id;\n```\n\nFor more information, see the [documentation](https://docs.getsentry.com/hosted/clients/php/).\n\n\n## Integration with frameworks\n\nOther packages exists to integrate this SDK into the most common frameworks.\n\n- [Symfony](https://github.com/getsentry/sentry-symfony)\n- [Laravel](https://github.com/getsentry/sentry-laravel)\n\n\n## Community\n\n- [Documentation](https://docs.getsentry.com/hosted/clients/php/)\n- [Bug Tracker](http://github.com/immobiliare/sentry-php/issues)\n- [Code](http://github.com/immobiliare/sentry-php)\n\n\nContributing\n------------\n\nDependencies are managed through composer:\n\n```\n$ composer install\n```\n\nTests can then be run via phpunit:\n\n```\n$ vendor/bin/phpunit\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimmobiliare%2Fsentry-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimmobiliare%2Fsentry-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimmobiliare%2Fsentry-php/lists"}