- What does nova-cards/system-information-card do?
- It is a Laravel Nova card that displays useful system details such as disk space, memory, load average, uptime, and system time. According to the package description, it can also show environment information like PHP and Laravel versions, database, server, and environment details. It is intended for quick diagnostics and at-a-glance status checks directly in the Nova dashboard.
- How do I install nova-cards/system-information-card in Laravel Nova?
- Install the package with Composer by running composer require nova-cards/system-information-card in your Laravel project. Then register the card in your Nova dashboard or NovaServiceProvider as described in the package README. After registration, load your Nova dashboard to see the system information card.
- Does this card require Laravel Nova, or does it work in plain Laravel?
- It is a Laravel Nova card, so it requires a Laravel application with Laravel Nova installed. It is not a standalone Laravel package for non-Nova dashboards or public-facing pages. You need an active Nova installation to register and display the card.
- Which Laravel and Nova versions are supported?
- Support depends on the package's Composer constraints and the Nova version you use, so check the repository's composer.json and README for exact Laravel and Nova requirements. Nova is a commercial package, and the card must be compatible with your installed Nova release. If you are on an older Laravel or Nova version, verify compatibility before installing.
- How do I register the system information card in my Nova dashboard?
- Register the card in your Nova dashboard or NovaServiceProvider using Nova's card registration methods, following the package README. Typically you add it to the cards array for the main dashboard or a custom dashboard. After registration, clear any relevant caches if needed and reload Nova to confirm the card appears.
- Can I customize which system metrics are displayed?
- The package is described as a simple card with a predefined set of system information fields, and no configuration options are mentioned in the provided overview. If you need a different set of metrics, you would likely need to customize the card or publish and edit its views. Check the README for any available configuration or customization guidance.
- Is it safe to show system information in production?
- System information can reveal server details, so restrict access to trusted Nova administrators. The card is intended for diagnostics and at-a-glance status checks, not for public-facing pages. Review what data is exposed before enabling it in a production environment.
- Does the card work without extra PHP extensions or server permissions?
- It relies on standard PHP and server information sources, but some metrics can depend on your operating system and PHP configuration. If a metric is unavailable, verify that the relevant PHP functions or shell commands are permitted for the web server user. Check the README for any specific requirements.
- How can I test the card before deploying it?
- Install it in a local or staging Laravel Nova application and load the dashboard to confirm the card renders and the metrics appear. Check that the server user has access to the information sources used by the card. There is no separate test suite documented in the provided context.
- What are alternatives to this Nova system information card?
- Alternatives include Laravel Telescope for application diagnostics, custom Nova cards built with Nova's card generator, and other Nova system-information packages. For lightweight needs, you can also build a small custom card that calls PHP functions directly. Choose based on how much detail and customization you need.