Создаем файл в папке роутов /routes/test.php Добавляем этот файл в .gitignore Добавляем в файл RouteServiceProvider.php в функцию boot следующий код: $this->routes(function () { // ... if (file_exists(base_path('routes/test.php')...

Markdown supported · ⌘↵ to post
No responses yet.