hungthai1401 / vulnerable
A Laravel Pulse card to show security vulnerability composer dependencies
Installs: 25 687
Dependents: 0
Suggesters: 0
Security: 0
Stars: 14
Watchers: 1
Forks: 1
Open Issues: 0
Language:Blade
Requires
- php: ^8.1
- illuminate/support: *
- laravel/pulse: ^1.0@beta
Requires (Dev)
- laravel/pint: ^1.13
- phpunit/phpunit: ^10.5
README
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
- Aaron Francis for his Outdated package