Skip to content

Commit 9bb9a40

Browse files
committed
updated composer, reqs page
Signed-off-by: bidi <bidi@apidemia.com>
1 parent a5d8404 commit 9bb9a40

2 files changed

Lines changed: 46 additions & 1 deletion

File tree

docs/book/v5/installation/composer.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,56 @@
11
# Composer Installation of Packages
22

3+
Composer is required to install DotKernel `frontend`. You can install Composer from the [official site](https://getcomposer.org/).
4+
5+
> First make sure that you have navigated your command prompt to the folder where you copied the files in the previous step.
6+
37
## Install dependencies
48

9+
Run this command in the command prompt.
10+
11+
> Use the **CLI** in order to ensure interactivity for proper configuration.
12+
513
```shell
614
composer install
715
```
816

17+
You should see this text below, along with a long list of packages to be installed instead of the `[...]`.
18+
In this example there are 164 packages, though the number can change in future updates.
19+
You will find the packages in the `vendor` folder.
20+
21+
```shell
22+
No composer.lock file present. Updating dependencies to latest instead of installing from lock file. See https://getcomposer.org/install for more information.
23+
Loading composer repositories with package information
24+
Updating dependencies
25+
Lock file operations: 164 installs, 0 updates, 0 removals
26+
[...]
27+
Writing lock file
28+
Installing dependencies from lock file (including require-dev)
29+
Package operations: 164 installs, 0 updates, 0 removals
30+
[...]
31+
```
32+
33+
The setup script may prompt for some configuration settings, for example the lines below.
34+
If you don't see them, you can skip to the next section.
35+
36+
```shell
37+
Please select which config file you wish to inject 'Laminas\Diactoros\ConfigProvider' into:
38+
[0] Do not inject
39+
[1] config/config.php
40+
Make your selection (default is 1):
41+
```
42+
43+
Type `0` to select `[0] Do not inject` because DotKernel includes its own ConfigProvider which already contains the prompted configurations.
44+
45+
> If you choose `[1] config/config.php`, an extra `ConfigProvider` will be injected.
46+
> This is not required for the default installation, so make sure to select `[0] Do not inject`.
47+
48+
The next question is:
49+
50+
`Remember this option for other packages of the same type? (y/N)`
51+
52+
Type `y` here, and hit `enter` to complete this stage.
53+
954
## Development mode
1055
1156
If you're installing the project for development, make sure you have development mode enabled, by running:

docs/book/v5/introduction/server-requirements.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Both mod_php and FCGI (FPM) are supported.
2929

3030
## RDBMS
3131

32-
* MariaDB >= 10.11 LTS
32+
* Tested with MariaDB 10.11 LTS and MariaDB 11.4 LTS
3333

3434
## Recommended extensions
3535

0 commit comments

Comments
 (0)