Re-write the deprecated functions in laravel 5 to laravel 8, including the built in authentication of laravel 5, Routing, PHP library, database connection option, Helpers, Console Command and artisan scheduler.