Auto reload your web app automatically on save
$ composer require agregalel/refresh-php:dev-main
use agregalel\refresh_php\RefreshPhp;
/**
* Init Refresh
*/
RefreshPhp::init();
You can also add a phprefresh.json configuration file to ignore files and directories
{
"ignore": [
"vendor",
"dir_ignore",
"file_ignore.php"
]
}