9 months ago

Package (add lines on default)

Posted 9 months ago by david19

Hello team,

i will create packages. I can make views, controllers,models,routes. This works. But how i can add functions in views, which are default?

Example Package: Add this function in /app/Http/Controllers/Auth/LoginController

public function showLoginForm()

        return view('vendor.mytheme.auth.login');

For this function i can not create a extra controller, because its the default laravel auth package.

Please sign in or create an account to participate in this conversation.