PHP code example of arafa / laravel-deadcode-detector
1. Go to this page and download the library: Download arafa/laravel-deadcode-detector library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
arafa / laravel-deadcode-detector example snippets
bash
php artisan vendor:publish --tag=deadcode-config
bash
php artisan dead:scan
bash
php artisan dead:scan --format=json > deadcode-report.json
# or
php artisan dead:scan --output=storage/app/deadcode-report.json