KO
|
EN
gitlite — search
Search
#python
#typescript
#llm
#ai
#nextjs
#machine-learning
#deep-learning
#cli
#react
#kotlin
#plugin
#java
ohdear-pulse
★ 26
Open GitHub ↗
Integrate Oh Dear in Laravel Pulse
Download README (.md)
Explore Similar Repositories
laravel-pulse-schedule
:
Laravel Pulse card that list all scheduled tasks.
pulse-php-fpm
:
PHP FPM status card for Laravel Pulse
pulse-api
:
Add an API layer to Laravel Pulse metrics
pulse-users
:
A Usage Distribution card for Laravel Pulse
404-monitor
:
A Laravel Pulse package that allows you to track 404 errors.
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
ohdear-pulse
?
Download (.md)
# Integrate Oh Dear with Laravel Pulse [](https://packagist.org/packages/ohdearapp/ohdear-pulse) [](https://github.com/ohdearapp/ohdear-pulse/actions?query=workflow%3Arun-tests+branch%3Amain) [](https://github.com/ohdearapp/ohdear-pulse/actions?query=workflow%3A"Fix+PHP+code+style+issues"+branch%3Amain) [](https://packagist.org/packages/ohdearapp/ohdear-pulse) This package contains Pulse cards that show results from [Oh Dear](https://ohdear.app) in your [Laravel Pulse](https://pulse.laravel.com) dashboard. Currently, there are three cards available: - [Uptime and Performance](https://ohdear.app/docs/features/uptime-monitoring) <img src="https://github.com/ohdearapp/ohdear-pulse/blob/main/docs/uptime.jpg?raw=true" width=400 /> - [Cron Job Monitoring](https://ohdear.app/docs/features/cron-job-monitoring)  - [Broken links](https://ohdear.app/docs/features/broken-links-detection)  ## Installation You can install the package via composer: ```bash composer require ohdearapp/ohdear-pulse ``` In your `config/services.php` file, add the following lines: ```php 'oh_dear' => [ 'pulse' => [ 'api_key' => env('OH_DEAR_API_TOKEN'), 'site_id' => env('OH_DEAR_SITE_ID'), ], ], ``` You can create an API token on the "API Tokens" page at Oh Dear. You'll find the site ID on the "Settings" page of a site on Oh Dear. You can execute this artisan command to verify if you set up the configuration correctly. ```bash php artisan ohdear-pulse:verify ``` ## Usage There are currently three cards available: - `ohdear.pulse.uptime`: displays the uptime and performance of a site - `ohdear.pulse.cron`: displays the results of the cron job monitoring - `ohdear.pulse.brokenLinks`: displays any broken links that were detected You can add the cards to your Pulse dashboard, by first publishing the Pulse's dashboard view: ```bash php artisan vendor:publish --tag=pulse-dashboard ``` Next, add the cards to the `resources/views/vendor/pulse/dashboard.blade.php` file: ```html <x-pulse> <livewire:ohdear.pulse.uptime cols="4" /> <livewire:ohdear.pulse.cron cols="8" /> <livewire:ohdear.pulse.brokenLinks cols="8" /> {{-- Add more cards here --}} </x-pulse> ``` All these cards accept an optional `site-id` attribute. If you don't provide it, the site ID from the `config/services.php` file will be used. ## Testing ```bash composer test ``` ## Changelog Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently. ## Contributing Please see [CONTRIBUTING](CONTRIBUTING.md) for details. ## Security Vulnerabilities Please review [our security policy](../../security/policy) on how to report security vulnerabilities. ## Credits - [Freek Van der Herten](https://github.com/freekmurze) - [All Contributors](../../contributors) ## License The MIT License (MIT). Please see [License File](LICENSE.md) for more information.