chris-ware/nova-clock-card
A simple Laravel Nova card that displays a live clock on your dashboard, giving you an at-a-glance view of the current time while you work in Nova. Lightweight, easy to install, and a nice touch for any Nova admin panel.
composer require <vendor>/<package>
php artisan vendor:publish --provider="<Vendor>\<Package>\<PackageServiceProvider>"
<x-clock :time="now()" display="analogue" />
If your app already renders a digital clock through this package, keep the existing call and change only the display option — that is the intended upgrade path for this release.config/<package>.php for app-wide consistency, and pass a per-component override only where a view needs a different style. This keeps dashboards uniform and avoids scattering display flags through templates.x-ui.clock) that fixes sizing, theme colours and accessibility attributes. Your wrapper becomes the single place to adapt when the package's markup changes.Carbon::setTestNow() and assert on the rendered component (assertSee, assertViewHas) rather than on pixel-level markup. For analogue output, assert the presence of the expected hand elements/attributes and the computed angles for a known timestamp.config('app.timezone'). Decide explicitly which one wins and set it in the published config.Date.now().--force, which overwrites your customisations.php artisan view:clear — stale compiled Blade is a frequent false alarm when the markup "didn't change".aria-label) in your wrapper component; do not rely on the package to do this.php artisan config:clear) and for a component attribute overriding the config default.How can I help you explore Laravel packages today?