How to init full process to create a site?

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User avatar
OleksiiFedorenko
Posts: 2
Joined: 18 Sep 2023, 13:19

How to init full process to create a site?

Post by OleksiiFedorenko » 18 Sep 2023, 13:26

Can I create a site by using built-in tools, without using

Code: Select all

artisan aimeos:setup <site code>
?

User avatar
aimeos
Administrator
Posts: 7895
Joined: 01 Jan 1970, 00:00

Re: How to init full process to create a site?

Post by aimeos » 18 Sep 2023, 21:35

You can use the code from the command in your own controller for example:
https://github.com/aimeos/aimeos-larave ... hp#L57-L65
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
OleksiiFedorenko
Posts: 2
Joined: 18 Sep 2023, 13:19

Re: How to init full process to create a site?

Post by OleksiiFedorenko » 19 Sep 2023, 10:56

And how can I get context if I use

Code: Select all

Artisan::call("aimeos:setup $site");
?
Last edited by OleksiiFedorenko on 19 Sep 2023, 11:36, edited 1 time in total.

Post Reply