If you just write a php script, you can do it in the command line
php имя_скрипта.php
and how to make it possible to run scripts on the Laravel engine as well, except through wget
It is necessary to create an artisan command here in Russian, told here on the official website
and run php artisan Mycommand
Source: https://ru.stackoverflow.com/questions/492101/
All Articles