PHP code example of wotta / sentry-dashboard-tile

1. Go to this page and download the library: Download wotta/sentry-dashboard-tile library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

wotta / sentry-dashboard-tile example snippets


'tiles' => [
    'sentry' => [
        'organization' => 'exampleorg',
        'token' => env('SENTRY_TILE_TOKEN'),
        'production_only' => env('SENTRY_TILE_PRODUCTION', false),
    ]
]

$schedule->command(ListenForSentryIssuesCommand::class)->everyThirtyMinutes();

 $schedule->command(SyncOrganizationTeams::class, [
     '--with-projects'
 ])->hourly();
 
bash
php artisan vendor:publish --tag=dashboard-sentry-migrations
html
<x-dashboard>
    <livewire:sentry-tile position="a1:a2" title="Issues" :showMeta="true" :refresh-interval-in-seconds="30" />
    <livewire:sentry-tile position="b1:b2" title="Issues" projectName="your-project" :showMeta="false" :refresh-interval-in-seconds="30" />
</x-dashboard>