hungthai1401/vulnerable

A Laravel Pulse card to show security vulnerability composer dependencies

Installs: 6 304

Dependents: 0

Suggesters: 0

Security: 0

Stars: 10

Watchers: 1

Forks: 1

Open Issues: 0

Language:Blade

v0.1.0 2023-12-07 10:36 UTC

This package is auto-updated.

Last update: 2024-04-22 10:14:00 UTC


README

Security Vulnerability Composer Dependencies card for Laravel Pulse

Security Vulnerability Composer Dependencies card for Laravel Pulse

This card will show you security vulnerability composer dependencies.

Installation

Require the package with Composer:

composer require hungthai1401/vulnerable

Register the recorder

Right now, the Composer dependencies audit will only be checked once per day. To run the checks you must add the Vulnerable to the pulse.php file.

return [
    // ...
    
    'recorders' => [
+        \HT\Pulse\Vulnerable\Recorders\Vulnerable::class => [],
    ]
]

You also need to be running the pulse:check command.

Add to your dashboard

To add the card to the Pulse dashboard, you must first publish the vendor view.

Then, you can modify the dashboard.blade.php file:

<x-pulse>
    ...
    
+    <livewire:vulnerable cols='4' rows='2' />
</x-pulse>

Credits