Skip to content

Commit 3e72c7d

Browse files
authored
Merge pull request #4271 from ovh/KS-SK1068-WHR-Update-Composer-guide-for-web-hosting-TRANSLATIONS
KS-SK1068-WHR-Update-Composer-guide-for-web-hosting-TRANSLATIONS
2 parents 29f8fa4 + 9c1a6af commit 3e72c7d

15 files changed

+122
-192
lines changed

pages/web/hosting/composer_install_composer/guide.de-de.md

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ slug: composer-installieren-hosting
44
excerpt: Erfahren Sie hier, wie Composer installieren und erste Schritte ausführen
55
section: PHP
66
order: 02
7-
updated: 2023-02-24
7+
updated: 2023-03-07
88
---
99

10+
**Letzte Aktualisierung am 07.03.2023**
11+
1012
> [!primary]
1113
> Diese Übersetzung wurde durch unseren Partner SYSTRAN automatisch erstellt. In manchen Fällen können ungenaue Formulierungen verwendet worden sein, z.B. bei der Beschriftung von Schaltflächen oder technischen Details. Bitte ziehen Sie beim geringsten Zweifel die englische oder französische Fassung der Anleitung zu Rate. Möchten Sie mithelfen, diese Übersetzung zu verbessern? Dann nutzen Sie dazu bitte den Button «Mitmachen» auf dieser Seite.
1214
>
1315
14-
**Letzte Aktualisierung am 24.02.2023**
15-
1616
## Ziel
1717

1818
[Composer](https://getcomposer.org/){.external} ist ein für PHP erstellter Dependency Manager. PHP-Entwickler können externe Bibliotheken in ihre Programme einbinden. Composer vereinfacht die Verteilung von Bibliotheken und die Wartung des Codes von PHP-Projekten. Seit der Veröffentlichung dieses Tools wurden zahlreiche Best Practices für die Entwicklung etabliert und somit die Bibliotheken der PHP-Community verbessert. Diese bewährten Verfahren werden in der Form [SRP](http://www.php-fig.org/){.external} dokumentiert.
@@ -48,26 +48,24 @@ Wenn es sich nicht um eine korrekte Version handelt, können Sie einen Alias kon
4848
alias php='/usr/local/php8.0/bin/php'
4949
```
5050

51-
Wir empfehlen Ihnen, im Wurzelverzeichnis Ihres Webhostings zu bleiben, um den öffentlichen Zugang zu Ihren Composer-Dateien zu verhindern. Führen Sie diesen Befehl zur Installation von Composer aus:
51+
Wir empfehlen Ihnen, im Wurzelverzeichnis Ihres Webhostings zu bleiben, damit die Dateien von Composer nicht öffentlich zugänglich sind. Führen Sie anschließend folgenden Befehl aus:
5252

5353

5454
```bash
5555
curl -sS https://getcomposer.org/installer | php
5656
```
5757

58-
Composer ist damit auf Ihrem Webhosting verfügbar.
59-
58+
Composer ist ab sofort für Ihr Webhosting verfügbar.
6059

6160
### Anwendungsbeispiel
6261

63-
Wenn Sie beispielsweise Symfony 2 auf einfache Weise installieren möchten, können Sie folgenden Befehl ausführen:
64-
62+
Wenn Sie **Symfony 2** installieren möchten, können Sie zum Beispiel folgenden Befehl ausführen:
6563

6664
```bash
6765
php composer.phar create-project symfony/framework-standard-edition my_project_name "2.7.*"
6866
```
6967

70-
Ebenso können Sie die OVHcloud API über Ihr Webhosting mit dem offiziellen Wrapper verwenden. Legen Sie hierzu einfach eine Datei namens `composer.json` mit einer Dependency-Liste an. Hier ein Beispiel dieser Datei mit dem OVHcloud API Wrapper:
68+
Sie können auch die OVHcloud API über Ihr Hosting mit dem offiziellen Wrapper verwenden. Fügen Sie hierzu eine Datei mit dem Namen *composer.json* hinzu, die Ihre benötigte Dependency-Liste enthält. Hier ein Beispiel dieser Datei mit dem OVHcloud API Wrapper:
7169

7270
```json
7371
1. {
@@ -79,14 +77,13 @@ Ebenso können Sie die OVHcloud API über Ihr Webhosting mit dem offiziellen Wra
7977
7. }
8078
```
8179

82-
Zur Installation verwenden Sie folgenden Befehl vom selben Ordner aus:
83-
80+
Um sie zu installieren starten Sie folgenden Befehl im gleichen Ordner:
8481

8582
```bash
86-
php compos.phar install
83+
php composer.phar install
8784
```
8885

89-
Um diese Library zu verwenden, können Sie die Dokumentation und den Code auf [GitHub](https://github.com/ovh/php-ovh){.external} zu Rate ziehen.
86+
Beachten Sie die Dokumentation zu dieser Library sowie den Code, verfügbar auf [GitHub](https://github.com/ovh/php-ovh){.external}.
9087

9188

9289
## Weiterführende Informationen <a name="go-further"></a>
@@ -95,4 +92,4 @@ Kontaktieren Sie für spezialisierte Dienstleistungen (SEO, Web-Entwicklung etc.
9592

9693
Wenn Sie Hilfe bei der Nutzung und Konfiguration Ihrer OVHcloud Lösungen benötigen, beachten Sie unsere [Support-Angebote](https://www.ovhcloud.com/de/support-levels/).
9794

98-
Für den Austausch mit unserer User Community gehen Sie auf <https://community.ovh.com/en/>.
95+
Für den Austausch mit unserer User Community gehen Sie auf <https://community.ovh.com/en/>.

pages/web/hosting/composer_install_composer/guide.en-asia.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ slug: install_composer_on_web_hosting_packages
44
excerpt: Find out how to install and take your first steps with Composer
55
section: PHP
66
order: 02
7-
updated: 2023-02-24
7+
updated: 2023-03-07
88
---
99

10-
**Last updated 24th February 2023**
10+
**Last updated 7th March 2023**
1111

1212
## Objective
1313

14-
[Composer](https://getcomposer.org/){.external} is a dependency manager created for the PHP language. It allows PHP developers to include external libraries in their programmes. Composer allows PHP projects to simplify library distribution and code maintenance. Since the creation of this tool, many good development practices have been proposed and have improved the libraries of the PHP community. These good practices are documented in the form of [SRP](http://www.php-fig.org/){.external}.
14+
[Composer](https://getcomposer.org/){.external} is a dependency manager created for the PHP language. It allows PHP developers to include external libraries in their programs. Composer allows PHP projects to facilitate library distribution and code maintenance. Since the creation of this tool, many good development practices have been proposed and have improved the libraries of the PHP community. These good practices are documented in the form of [SRP](http://www.php-fig.org/){.external}.
1515

1616
**This guide explains how to install Composer and provides an example of usage with a Web Hosting plan.**
1717

@@ -45,7 +45,7 @@ If this is not a proper version, you can configure an alias:
4545
alias php='/usr/local/php8.0/bin/php'
4646
```
4747

48-
We recommend staying in the root folder of your Web Hosting in order to prevent your Composer files from being publicly accessible. Run this command next to install Composer:
48+
We recommend staying in the root folder of your Web Hosting in order to prevent your Composer files from being publicly accessible. Next, run this command:
4949

5050

5151
```bash
@@ -57,13 +57,13 @@ Composer is now available on your Web Hosting.
5757

5858
### Use cases
5959

60-
For example, if you want to install Symfony 2 in a simple way, you can run the following command:
60+
If you want to install **Symfony 2**, you can for example run the following command:
6161

6262
```bash
6363
php composer.phar create-project symfony/framework-standard-edition my_project_name "2.7.*"
6464
```
6565

66-
Similarly, you can use the OVHcloud API from your Web Hosting by using the official wrapper. To do this, simply add a file named `composer.json` that contains the list of dependencies you need. Here is an example of this file with the OVHcloud API wrapper:
66+
You can also use the OVHcloud API from your hosting using the official wrapper. To do this, add a file named *composer.json* containing the list of dependencies you need. Here is an example of this file with the OVHcloud API wrapper:
6767

6868

6969
```json
@@ -76,14 +76,13 @@ Similarly, you can use the OVHcloud API from your Web Hosting by using the offic
7676
7. }
7777
```
7878

79-
To install it, simply run the following command in the same folder:
79+
To install it, run the following command in the same folder:
8080

8181
```bash
8282
php composer.phar install
8383
```
8484

85-
To use this library, you can refer to the documentation, as well as the code, available on [GitHub](https://github.com/ovh/php-ovh){.external}.
86-
85+
To use this library, please refer to the documentation, as well as the code, available on [GitHub](https://github.com/ovh/php-ovh){.external}.
8786

8887
## Go further <a name="go-further"></a>
8988

pages/web/hosting/composer_install_composer/guide.en-au.md

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ slug: install_composer_on_web_hosting_packages
44
excerpt: Find out how to install and take your first steps with Composer
55
section: PHP
66
order: 02
7-
updated: 2023-02-24
7+
updated: 2023-03-07
88
---
99

10-
**Last updated 24th February 2023**
10+
**Last updated 7th March 2023**
1111

1212
## Objective
1313

14-
[Composer](https://getcomposer.org/){.external} is a dependency manager created for the PHP language. It allows PHP developers to include external libraries in their programmes. Composer allows PHP projects to simplify library distribution and code maintenance. Since the creation of this tool, many good development practices have been proposed and have improved the libraries of the PHP community. These good practices are documented in the form of [SRP](http://www.php-fig.org/){.external}.
14+
[Composer](https://getcomposer.org/){.external} is a dependency manager created for the PHP language. It allows PHP developers to include external libraries in their programs. Composer allows PHP projects to facilitate library distribution and code maintenance. Since the creation of this tool, many good development practices have been proposed and have improved the libraries of the PHP community. These good practices are documented in the form of [SRP](http://www.php-fig.org/){.external}.
1515

1616
**This guide explains how to install Composer and provides an example of usage with a Web Hosting plan.**
1717

@@ -33,20 +33,17 @@ Access your hosting plan via SSH using our guide to [using SSH with your OVHclou
3333

3434
Use the command line to check if the PHP version is compatible:
3535

36-
3736
```bash
3837
php --version
3938
```
4039

4140
If this is not a proper version, you can configure an alias:
4241

43-
4442
```bash
4543
alias php='/usr/local/php8.0/bin/php'
4644
```
4745

48-
We recommend staying in the root folder of your Web Hosting in order to prevent your Composer files from being publicly accessible. Run this command next to install Composer:
49-
46+
We recommend staying in the root folder of your Web Hosting in order to prevent your Composer files from being publicly accessible. Next, run this command:
5047

5148
```bash
5249
curl -sS https://getcomposer.org/installer | php
@@ -57,13 +54,13 @@ Composer is now available on your Web Hosting.
5754

5855
### Use cases
5956

60-
For example, if you want to install Symfony 2 in a simple way, you can run the following command:
57+
If you want to install **Symfony 2**, you can for example run the following command:
6158

6259
```bash
6360
php composer.phar create-project symfony/framework-standard-edition my_project_name "2.7.*"
6461
```
6562

66-
Similarly, you can use the OVHcloud API from your Web Hosting by using the official wrapper. To do this, simply add a file named `composer.json` that contains the list of dependencies you need. Here is an example of this file with the OVHcloud API wrapper:
63+
You can also use the OVHcloud API from your hosting using the official wrapper. To do this, add a file named *composer.json* containing the list of dependencies you need. Here is an example of this file with the OVHcloud API wrapper:
6764

6865

6966
```json
@@ -76,14 +73,13 @@ Similarly, you can use the OVHcloud API from your Web Hosting by using the offic
7673
7. }
7774
```
7875

79-
To install it, simply run the following command in the same folder:
76+
To install it, run the following command in the same folder:
8077

8178
```bash
8279
php composer.phar install
8380
```
8481

85-
To use this library, you can refer to the documentation, as well as the code, available on [GitHub](https://github.com/ovh/php-ovh){.external}.
86-
82+
To use this library, please refer to the documentation, as well as the code, available on [GitHub](https://github.com/ovh/php-ovh){.external}
8783

8884
## Go further <a name="go-further"></a>
8985

pages/web/hosting/composer_install_composer/guide.en-ca.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ slug: install_composer_on_web_hosting_packages
44
excerpt: Find out how to install and take your first steps with Composer
55
section: PHP
66
order: 02
7-
updated: 2023-02-24
7+
updated: 2023-03-07
88
---
99

10-
**Last updated 24th February 2023**
10+
**Last updated 7th March 2023**
1111

1212
## Objective
1313

14-
[Composer](https://getcomposer.org/){.external} is a dependency manager created for the PHP language. It allows PHP developers to include external libraries in their programmes. Composer allows PHP projects to simplify library distribution and code maintenance. Since the creation of this tool, many good development practices have been proposed and have improved the libraries of the PHP community. These good practices are documented in the form of [SRP](http://www.php-fig.org/){.external}.
14+
[Composer](https://getcomposer.org/){.external} is a dependency manager created for the PHP language. It allows PHP developers to include external libraries in their programs. Composer allows PHP projects to facilitate library distribution and code maintenance. Since the creation of this tool, many good development practices have been proposed and have improved the libraries of the PHP community. These good practices are documented in the form of [SRP](http://www.php-fig.org/){.external}.
1515

1616
**This guide explains how to install Composer and provides an example of usage with a Web Hosting plan.**
1717

@@ -45,7 +45,7 @@ If this is not a proper version, you can configure an alias:
4545
alias php='/usr/local/php8.0/bin/php'
4646
```
4747

48-
We recommend staying in the root folder of your Web Hosting in order to prevent your Composer files from being publicly accessible. Run this command next to install Composer:
48+
We recommend staying in the root folder of your Web Hosting in order to prevent your Composer files from being publicly accessible. Next, run this command:
4949

5050

5151
```bash
@@ -57,13 +57,13 @@ Composer is now available on your Web Hosting.
5757

5858
### Use cases
5959

60-
For example, if you want to install Symfony 2 in a simple way, you can run the following command:
60+
If you want to install **Symfony 2**, you can for example run the following command:
6161

6262
```bash
6363
php composer.phar create-project symfony/framework-standard-edition my_project_name "2.7.*"
6464
```
6565

66-
Similarly, you can use the OVHcloud API from your Web Hosting by using the official wrapper. To do this, simply add a file named `composer.json` that contains the list of dependencies you need. Here is an example of this file with the OVHcloud API wrapper:
66+
You can also use the OVHcloud API from your hosting using the official wrapper. To do this, add a file named *composer.json* containing the list of dependencies you need. Here is an example of this file with the OVHcloud API wrapper:
6767

6868

6969
```json
@@ -76,14 +76,13 @@ Similarly, you can use the OVHcloud API from your Web Hosting by using the offic
7676
7. }
7777
```
7878

79-
To install it, simply run the following command in the same folder:
79+
To install it, run the following command in the same folder:
8080

8181
```bash
8282
php composer.phar install
8383
```
8484

85-
To use this library, you can refer to the documentation, as well as the code, available on [GitHub](https://github.com/ovh/php-ovh){.external}.
86-
85+
To use this library, please refer to the documentation, as well as the code, available on [GitHub](https://github.com/ovh/php-ovh){.external}.
8786

8887
## Go further <a name="go-further"></a>
8988

pages/web/hosting/composer_install_composer/guide.en-gb.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ slug: install_composer_on_web_hosting_packages
44
excerpt: Find out how to install and take your first steps with Composer
55
section: PHP
66
order: 02
7-
updated: 2023-02-24
7+
updated: 2023-03-07
88
---
99

10-
**Last updated 24th February 2023**
10+
**Last updated 7th March 2023**
1111

1212
## Objective
1313

14-
[Composer](https://getcomposer.org/){.external} is a dependency manager created for the PHP language. It allows PHP developers to include external libraries in their programmes. Composer allows PHP projects to simplify library distribution and code maintenance. Since the creation of this tool, many good development practices have been proposed and have improved the libraries of the PHP community. These good practices are documented in the form of [SRP](http://www.php-fig.org/){.external}.
14+
[Composer](https://getcomposer.org/){.external} is a dependency manager created for the PHP language. It allows PHP developers to include external libraries in their programs. Composer allows PHP projects to facilitate library distribution and code maintenance. Since the creation of this tool, many good development practices have been proposed and have improved the libraries of the PHP community. These good practices are documented in the form of [SRP](http://www.php-fig.org/){.external}.
1515

1616
**This guide explains how to install Composer and provides an example of usage with a Web Hosting plan.**
1717

@@ -45,7 +45,7 @@ If this is not a proper version, you can configure an alias:
4545
alias php='/usr/local/php8.0/bin/php'
4646
```
4747

48-
We recommend staying in the root folder of your Web Hosting in order to prevent your Composer files from being publicly accessible. Run this command next to install Composer:
48+
We recommend staying in the root folder of your Web Hosting in order to prevent your Composer files from being publicly accessible. Next, run this command:
4949

5050

5151
```bash
@@ -57,13 +57,13 @@ Composer is now available on your Web Hosting.
5757

5858
### Use cases
5959

60-
For example, if you want to install Symfony 2 in a simple way, you can run the following command:
60+
If you want to install **Symfony 2**, you can for example run the following command:
6161

6262
```bash
6363
php composer.phar create-project symfony/framework-standard-edition my_project_name "2.7.*"
6464
```
6565

66-
Similarly, you can use the OVHcloud API from your Web Hosting by using the official wrapper. To do this, simply add a file named `composer.json` that contains the list of dependencies you need. Here is an example of this file with the OVHcloud API wrapper:
66+
You can also use the OVHcloud API from your hosting using the official wrapper. To do this, add a file named *composer.json* containing the list of dependencies you need. Here is an example of this file with the OVHcloud API wrapper:
6767

6868

6969
```json
@@ -76,19 +76,18 @@ Similarly, you can use the OVHcloud API from your Web Hosting by using the offic
7676
7. }
7777
```
7878

79-
To install it, simply run the following command in the same folder:
79+
To install it, run the following command in the same folder:
8080

8181
```bash
8282
php composer.phar install
8383
```
8484

85-
To use this library, you can refer to the documentation, as well as the code, available on [GitHub](https://github.com/ovh/php-ovh){.external}.
86-
85+
To use this library, please refer to the documentation, as well as the code, available on [GitHub](https://github.com/ovh/php-ovh){.external}.
8786

8887
## Go further <a name="go-further"></a>
8988

9089
For specialised services (SEO, development, etc.), contact [OVHcloud partners](https://partner.ovhcloud.com/en-gb/directory/).
9190

9291
If you would like assistance using and configuring your OVHcloud solutions, please refer to our [support offers](https://www.ovhcloud.com/en-gb/support-levels/).
9392

94-
Join our community of users on <https://community.ovh.com/en/>.
93+
Join our community of users on <https://community.ovh.com/en/>.

0 commit comments

Comments
 (0)