B
B
BarneyGumble2020-10-26 00:06:51
Laravel
BarneyGumble, 2020-10-26 00:06:51

How to use the admin functionality of Voyager in Laravel in the front-end?

I am building an online store with Laravel. I attached Voyager as an admin panel. I did it in Voyager BREAD to add products, now I completely control the process of adding items from the admin panel.

It was necessary to implement the functionality of adding products from the user's personal account in the frontend. I can now take my ProductController from /App/Http/Controllers and start implementing public function store() {} there to store products. But I caught myself thinking that all this has already been done in Voyager and I will just duplicate it. Is it possible to somehow use this functionality from Voyager?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question