This card will show you security vulnerability composer dependencies.
Require the package with Composer:
composer require hungthai1401/vulnerable
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.
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>
- Aaron Francis for his Outdated package