[SOLVED] Howto add extentions (instructions for newbe)

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User avatar
ЕвгенияСемихова(ИПСемиховаЕ.А.)
Posts: 41
Joined: 11 Jan 2025, 09:45

[SOLVED] Howto add extentions (instructions for newbe)

Post by ЕвгенияСемихова(ИПСемиховаЕ.А.) » 22 Jan 2025, 20:08

Have order 3 extentions. How I can understand - I neet to add to composer config "composer.json" new repositories. Ok, I have add to the end. What I need to do next?
Can't find any informations at officical documentation.
Last edited by ЕвгенияСемихова(ИПСемиховаЕ.А.) on 24 Jan 2025, 16:57, edited 1 time in total.
life is full of many new and interesting things

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

Re: Howto add extentions (instructions)

Post by aimeos » 23 Jan 2025, 09:32

This is very basic stuff when working with composer (getcomposer.org). Just run "composer update" to install the extensions. Afterwards, run "php artisan aimeos:setup" to update the database.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
ЕвгенияСемихова(ИПСемиховаЕ.А.)
Posts: 41
Joined: 11 Jan 2025, 09:45

Re: Howto add extentions (instructions)

Post by ЕвгенияСемихова(ИПСемиховаЕ.А.) » 23 Jan 2025, 20:16

Dear Aimeos, I have read many informations about composer, now start understand what is this and for what it needed. I also have download Open Server Panel (analog of local's LAMP) and install Aimeos at virtual localhost.
I put composer to 'myshop' catalog and start "composer update":
Nothing to install, update or remove

I understand that I need to use my login/password for authentification at composer repository, but I can't understand how.

Can you write step by step? I think it will be help for many newbie like me.

P.S.: Otherwise, we figured out the internal system pretty quickly and we like Aimeos more and more.
life is full of many new and interesting things

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

Re: Howto add extentions (instructions)

Post by aimeos » 24 Jan 2025, 13:27

Edit the "requires" section of your existing composer.json and add the extensions you want to install like this:

Code: Select all

	"aimeoscom/ai-<name>": "~2024.10",
e.g.:

Code: Select all

	"aimeoscom/ai-sites": "~2024.10",
	"aimeoscom/ai-customergroups": "~2024.10",	
Then, run "composer update" and it will ask you for a user name (e-mail address you've used when buying the extensions) and the password (sent to you in a separate e-mail after buying the first time).

Finally, run this command to update the database:

Code: Select all

php artisan aimeos:setup
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
ЕвгенияСемихова(ИПСемиховаЕ.А.)
Posts: 41
Joined: 11 Jan 2025, 09:45

Re: Howto add extentions (instructions)

Post by ЕвгенияСемихова(ИПСемиховаЕ.А.) » 24 Jan 2025, 15:15

[SOLVED] How to add extentions to Aimeos (Instruction for newbe):
To add extensions to Aimeos, you must:

1) open the "composer file.json" (in the root of default catalog "my shop") and add the necessary packages to the "requires" section:
Image

Attention: pay special attention to the syntax, after the last line you need to put a comma and add your lines, otherwise composer will scold:
Image

2) If you have done everything correctly, run the "composer update" command and, upon request, specify the login and password provided to you at the first sale:
Image

3) after the installation of the applications is completed, do not forget to run the store update command:

Code: Select all

php artisan aimeos:setup
-----
Edit the "requires" section of your existing composer.json and add the extensions you want to install like this:
Thank you very much for your helping and so interesting system! And I'll go to the next step of preparing of our project.
life is full of many new and interesting things

Post Reply