Laravel existing

Closed
Vanguard - Advanced PHP Login and User Management Vanguard - Advanced PHP Login and User Management July 01, 2018
Login to reply
Milos Stojanovic Support Agent
3 years ago

No problem! :)

Frederick Stoll
3 years ago

Hey Milos,

That is what I figured I would most likely have to do. 

Thanks for your reply,

Fred

Milos Stojanovic Support Agent
3 years ago

Hey Fred,

Unfortunately, since you already have a Laravel application, you cannot just install Vanguard over it. Vanguard is originally designed to be used as a foundation for a Laravel project you want to build.

So, if you want to integrate Vanguard into an existing Laravel app, the only way to do it is to copy the files manually. Or, if your application is small, to copy your application files to Vanguard. I would recommend you to start with routes and controllers and then continue with the views and assets. 

The way I would do it is by moving your application files to Vanguard. You can group Vanguard related routes with a "/admin" prefix for example, and then use your routes the same way you use them in your app now.

- Milos

Frederick Stoll
3 years ago

I have a website that uses Laravel already, but I am not sure how to install Vanguard that it won't overwrite my existing site.


Fred