├── .craft.yml ├── .github ├── ISSUE_TEMPLATE │ └── config.yml └── workflows │ ├── publish-release.yaml │ └── tests.yaml ├── .gitignore ├── LICENSE ├── README.md └── composer.json /.craft.yml: -------------------------------------------------------------------------------- 1 | minVersion: '0.23.1' 2 | artifactProvider: 3 | name: none 4 | preReleaseCommand: '' 5 | targets: 6 | - name: github 7 | - name: registry 8 | sdks: 9 | composer:sentry/sdk: 10 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: false 2 | contact_links: 3 | - name: 🐞 Bug Report 4 | url: https://github.com/getsentry/sentry-php/issues/new?assignees=&labels=&template=BUG_REPORT.md 5 | about: Report a bug against Sentry-PHP 6 | 7 | - name: 🧠 Feature Request 8 | url: https://github.com/getsentry/sentry-php/issues/new?assignees=&labels=&template=FEATURE_REQUEST.md 9 | about: Suggest an idea for improving Sentry-PHP 10 | 11 | - name: Sentry-PHP Issue Tracker 12 | url: https://github.com/getsentry/sentry-php/issues/ 13 | about: Visit the main Sentry-PHP Issue Tracker 14 | -------------------------------------------------------------------------------- /.github/workflows/publish-release.yaml: -------------------------------------------------------------------------------- 1 | name: Prepare Release 2 | 3 | on: 4 | workflow_dispatch: 5 | inputs: 6 | version: 7 | description: Version to release 8 | required: true 9 | force: 10 | description: Force a release even when there are release-blockers (optional) 11 | required: false 12 | 13 | permissions: 14 | contents: read 15 | 16 | jobs: 17 | release: 18 | runs-on: ubuntu-latest 19 | name: Release version 20 | steps: 21 | - name: Get auth token 22 | id: token 23 | uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0 24 | with: 25 | app-id: ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }} 26 | private-key: ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }} 27 | 28 | - uses: actions/checkout@v4 29 | with: 30 | token: ${{ steps.token.outputs.token }} 31 | fetch-depth: 0 32 | 33 | - name: Prepare release 34 | uses: getsentry/action-prepare-release@v1 35 | env: 36 | GITHUB_TOKEN: ${{ steps.token.outputs.token }} 37 | with: 38 | version: ${{ github.event.inputs.version }} 39 | force: ${{ github.event.inputs.force }} 40 | -------------------------------------------------------------------------------- /.github/workflows/tests.yaml: -------------------------------------------------------------------------------- 1 | name: Continuous Integration 2 | 3 | on: 4 | pull_request: null 5 | push: 6 | branches: 7 | - master 8 | 9 | permissions: 10 | contents: read 11 | 12 | jobs: 13 | tests: 14 | name: Tests 15 | runs-on: ubuntu-latest 16 | env: 17 | SYMFONY_REQUIRE: ${{ matrix.symfony-version }} 18 | strategy: 19 | fail-fast: false 20 | matrix: 21 | php: 22 | - '7.2' 23 | - '7.3' 24 | - '7.4' 25 | - '8.0' 26 | - '8.1' 27 | - '8.2' 28 | - '8.3' 29 | symfony-version: 30 | - 4.4.* 31 | - 5.* 32 | - 6.* 33 | dependencies: 34 | - highest 35 | - lowest 36 | exclude: 37 | - php: '7.2' 38 | symfony-version: 6.* 39 | dependencies: highest 40 | - php: '7.3' 41 | symfony-version: 6.* 42 | dependencies: highest 43 | - php: '7.4' 44 | symfony-version: 6.* 45 | dependencies: highest 46 | - php: '7.2' 47 | symfony-version: 6.* 48 | dependencies: lowest 49 | - php: '7.3' 50 | symfony-version: 6.* 51 | dependencies: lowest 52 | - php: '7.4' 53 | symfony-version: 6.* 54 | dependencies: lowest 55 | 56 | steps: 57 | - name: Checkout 58 | uses: actions/checkout@v4 59 | 60 | - name: Setup PHP 61 | uses: shivammathur/setup-php@v2 62 | with: 63 | php-version: ${{ matrix.php }} 64 | tools: flex 65 | 66 | - name: Install dependencies 67 | uses: ramsey/composer-install@v2 68 | with: 69 | dependency-versions: ${{ matrix.dependencies }} 70 | composer-options: --prefer-dist 71 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | composer.phar 2 | /vendor/ 3 | 4 | # Commit your application's lock file https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control 5 | # You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file 6 | # composer.lock 7 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 Sentry 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 |
5 |