Laravel Self Diagnosis

screenshot of Laravel Self Diagnosis

Perform Self-Diagnosis Tests On Your Laravel Application

Overview

If you’re working with Laravel, ensuring your application runs optimally is crucial. The Self-Diagnosis Tests package offers a powerful solution to identify potential issues within your Laravel application quickly. With multiple checks included out of the box and the ability to add your own, this tool is designed to streamline the troubleshooting process, making it easier to maintain your application’s health.

This package simplifies running diagnostics through a straightforward artisan command, providing clear feedback on various elements, from environment variables to database connections. It’s a must-have for anyone looking to enhance the reliability and performance of their Laravel projects.

Features

  • Multiple Built-in Checks: The package includes essential checks such as validating the APP_KEY, ensuring correct PHP version and extensions, and confirming that database connections can be established.

  • Custom Check Addition: Users can easily add custom checks to cater to specific needs, providing flexibility for unique application requirements.

  • Environment Specific Checks: It distinguishes between development and production environments, ensuring appropriate settings and configurations are applied in different scenarios.

  • Clear Output: The command outputs a clear summary of all checks, indicating whether they passed or failed, for easy troubleshooting.

  • Easy Installation: The package can be installed via composer, allowing for quick integration into any existing Laravel project.

  • Configuration Options: Users can publish a configuration file containing all available checks, allowing for tailored diagnostics that meet personalized standards.

  • Detailed Diagnostics for PHP Extensions: Checks if required PHP extensions are installed and whether any unnecessary extensions (like Xdebug in production) are disabled.

  • Directory Permission Verification: Ensures that critical directories like storage and bootstrap/cache have the correct permissions, helping to prevent common authorization issues.